Commit 13659d2d authored by Joachim Sauer's avatar Joachim Sauer
Browse files

Fix setCurrency resetting fraction digits.

ICU DecimalFormat and java.text.DecimalFormat differ in their
definition of setCurrency in that the former is documented to leave the
minimum and maximum fraction digits untouched and the later updates it
to the default of the currency.

Since we implement java.text.DecimalFormat using the ICU DecimalFormat
we have to work around that difference.

Bug: 28893763
Change-Id: I0e7e19fe95f352e75cc9f53ad8a7739436de37d1
parent 70639b48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment