Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acd4d23f authored by Christopher Tate's avatar Christopher Tate
Browse files

Avoid churning NumberFormat instances in ProgressBar

Don't construct a new locale-specific NumberFormat every time a progress
bar's state is refreshed or updated.  We now do this only when necessary
due to a locale change.

Bug: 161264248
Test: atest ProgressBarTest
Change-Id: I349ec28268a3471184e5746b164f81428ad80cc8
parent 25ec4f68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment