diff options
author | 2013-09-11 12:08:19 +0900 | |
---|---|---|
committer | 2013-09-11 18:20:56 +0900 | |
commit | 95bc256f419e9e47c26dfefd1ac31266dac2f344 (patch) | |
tree | b2ac52987e300b226a9101fb6606bff7c91c5762 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | |
parent | f7ec77fe2f66e946040d11f2936fb8559e709848 (diff) | |
download | latinime-95bc256f419e9e47c26dfefd1ac31266dac2f344.tar.gz latinime-95bc256f419e9e47c26dfefd1ac31266dac2f344.tar.xz latinime-95bc256f419e9e47c26dfefd1ac31266dac2f344.zip |
Add a flag to readDictioanryBinary in DictDecoder.
Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java index 72ec5a302..186484570 100644 --- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java +++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java @@ -289,7 +289,7 @@ public class BinaryDictDecoderEncoderTests extends AndroidTestCase { dictDecoder.openDictBuffer(); assertNotNull(dictDecoder.getDictBuffer()); now = System.currentTimeMillis(); - dict = dictDecoder.readDictionaryBinary(null); + dict = dictDecoder.readDictionaryBinary(null, false /* deleteDictIfBroken */); diff = System.currentTimeMillis() - now; } catch (IOException e) { Log.e(TAG, "IOException while reading dictionary", e); |