aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LocaleUtils.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-05-24 12:25:15 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-05-24 12:25:15 -0700
commit5b41f31183e34cba97b83233c8e6e74a176f0130 (patch)
tree41010bb11ed09145a97b14bd40bf5676e47c9fe3 /java/src/com/android/inputmethod/latin/LocaleUtils.java
parentb9de067449292b2bc835dde4473473b291da74b0 (diff)
parent94027c7201a376107a35ec78cd21db1905662601 (diff)
downloadlatinime-5b41f31183e34cba97b83233c8e6e74a176f0130.tar.gz
latinime-5b41f31183e34cba97b83233c8e6e74a176f0130.tar.xz
latinime-5b41f31183e34cba97b83233c8e6e74a176f0130.zip
am 94027c72: Use Locale.ROOT for locale neutral operations
* commit '94027c7201a376107a35ec78cd21db1905662601': Use Locale.ROOT for locale neutral operations
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LocaleUtils.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LocaleUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LocaleUtils.java b/java/src/com/android/inputmethod/latin/LocaleUtils.java
index 5fde8158a..a1e40502e 100644
--- a/java/src/com/android/inputmethod/latin/LocaleUtils.java
+++ b/java/src/com/android/inputmethod/latin/LocaleUtils.java
@@ -148,7 +148,7 @@ public final class LocaleUtils {
public static String getMatchLevelSortedString(int matchLevel) {
// This works because the match levels are 0~99 (actually 0~30)
// Ideally this should use a number of digits equals to the 1og10 of the greater matchLevel
- return String.format("%02d", MATCH_LEVEL_MAX - matchLevel);
+ return String.format(Locale.ROOT, "%02d", MATCH_LEVEL_MAX - matchLevel);
}
/**