diff options
author | Victor Chang <vichang@google.com> | 2017-07-19 20:02:34 +0100 |
---|---|---|
committer | Victor Chang <vichang@google.com> | 2017-07-21 12:02:37 +0100 |
commit | 24d7719948d565617351a6135454893bdd9b8b21 (patch) | |
tree | 3fabcb0c14f6268d585e5069eef0bc71ba90978e /annotations/generate_annotated_java_files.py | |
parent | 4f5f16ccda77bc0448b42e4dc36da50e0c100591 (diff) |
Fix DecimalFormatSymboals.setGroupingSeparator for currency format
ICU has a separate API setMonetaryGroupingSeparator and ignores
the value from setGroupingSeparator for currency format.
It's WAI for ICU.
The fix is to set the monetary grouping separator explicitly in ICU
note: if the locale has special grouping separator for currency,
it will be ignored, and the normal grouping separator will be used.
A test is also added to verify such behavior.
Bug: 38021063
Test: cts-tradefed run cts -m CtsLibcoreTestCases --primary-abi-only
Change-Id: Idfe5645516df5d05f868ab3e854e0416c47d2a68
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions