diff options
author | 2014-02-04 23:51:05 +0900 | |
---|---|---|
committer | 2014-02-05 17:35:25 +0900 | |
commit | 43cf9076b2d053c554941e55f6073b8f586c510b (patch) | |
tree | 80bc1df381a0a75a1ecb48dc723b8cb97abaf68c /tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java | |
parent | aac53dd7f55c5175ac8950617750b3d5c2adcf59 (diff) | |
download | latinime-43cf9076b2d053c554941e55f6073b8f586c510b.tar.gz latinime-43cf9076b2d053c554941e55f6073b8f586c510b.tar.xz latinime-43cf9076b2d053c554941e55f6073b8f586c510b.zip |
[HD04] Make the locale mandatory.
Bug: 11281748
Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java index bab86e546..e21975db6 100644 --- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java +++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryTests.java @@ -69,8 +69,8 @@ public class BinaryDictionaryTests extends AndroidTestCase { file.delete(); file.mkdir(); Map<String, String> attributeMap = new HashMap<String, String>(); - if (BinaryDictionary.createEmptyDictFile(file.getAbsolutePath(), - FormatSpec.VERSION4, attributeMap)) { + if (BinaryDictionary.createEmptyDictFile(file.getAbsolutePath(), FormatSpec.VERSION4, + Locale.ENGLISH, attributeMap)) { return file; } else { throw new IOException("Empty dictionary " + file.getAbsolutePath() |