Fix Arabic floating point number display problem
Most languages use dot . as floating point, however,
Arabic uses ٫ as floating point.
Bug: 210453969
Test: manual visual
Settings -> Storage
Change-Id: I55702d0fc243e59eecaa2283c45ee70260ef8cf2
This commit is contained in:
@@ -40,7 +40,7 @@ import java.util.regex.Pattern;
|
||||
*/
|
||||
public class UsageProgressBarPreference extends Preference {
|
||||
|
||||
private final Pattern mNumberPattern = Pattern.compile("[\\d]*[\\.,]?[\\d]+");
|
||||
private final Pattern mNumberPattern = Pattern.compile("[\\d]*[\\٫.,]?[\\d]+");
|
||||
|
||||
private CharSequence mUsageSummary;
|
||||
private CharSequence mTotalSummary;
|
||||
|
||||
Reference in New Issue
Block a user