Merge "Fix percentage formatting throughout Settings." into lmp-mr1-dev

This commit is contained in:
Elliott Hughes
2014-10-04 00:44:10 +00:00
committed by Android (Google) Code Review
6 changed files with 30 additions and 33 deletions

View File

@@ -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) {