Fix percentage formatting throughout Settings.
Bug: 15476051 Change-Id: Ic64e7c36d0e2732d3e0e79fec2b79de42decf77d
This commit is contained in:
@@ -335,8 +335,7 @@ public final class Utils {
|
||||
|
||||
/** Formats a double from 0.0..1.0 as a percentage. */
|
||||
private static String formatPercentage(double percentage) {
|
||||
BidiFormatter bf = BidiFormatter.getInstance();
|
||||
return bf.unicodeWrap(NumberFormat.getPercentInstance().format(percentage));
|
||||
return NumberFormat.getPercentInstance().format(percentage);
|
||||
}
|
||||
|
||||
public static boolean isBatteryPresent(Intent batteryChangedIntent) {
|
||||
|
Reference in New Issue
Block a user