Fix DecimalFormatSymbols.setCurrency.

We cache values from the Currency but can allow those cached values to be
overwritten, so even if a later call to setCurrency is for the same Currency
as last time, we can't assume that's a no-op.

Bug: 18437206
Bug: https://code.google.com/p/android/issues/detail?id=79925

(cherry picked from commit 54e10f16912a55513b8888fa7903d1e6bee4b4af)

Change-Id: Icd6aa1dfdc7945fd3904772f8970a1a94aaa0664
2 files changed