commit | 7274cd610406b12db0c55b22176d7e55ce080d7e | [log] [tgz] |
---|---|---|
author | Arc Wang <arcwang@google.com> | Thu Apr 22 20:09:44 2021 +0800 |
committer | Arc Wang <arcwang@google.com> | Thu Apr 22 21:26:21 2021 +0800 |
tree | c9d906160d4bc0374792751145e42b1552e012d5 | |
parent | 78d8d4d6cffc3b2e92b834444ea515d3195f7a20 [diff] |
Fix UsageProgressBarPreference number pattern problem Original design uses the pattern digits + . + digits to recognize a number. However, some locales (e.g., Dutch) uses comma (,) as floating point. This change uses the pattern digits + . or , + digits to recognize a number. Bug: 185666660 Test: atest UsageProgressBarPreferenceTest Change-Id: Ie72b3e8a5ddc4eb3621bdd72976836b9285e96d0