diff options
author | 2013-09-11 02:27:33 -0700 | |
---|---|---|
committer | 2013-09-11 02:27:33 -0700 | |
commit | 811e37b37bc543c5ab9c5010d08e2084b380bb80 (patch) | |
tree | aae224a3b49f9f963e5f37b0c09c10665098c6c4 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | |
parent | 4c69242e87114990fca6572060bec9aa955ab3ce (diff) | |
parent | 95bc256f419e9e47c26dfefd1ac31266dac2f344 (diff) | |
download | latinime-811e37b37bc543c5ab9c5010d08e2084b380bb80.tar.gz latinime-811e37b37bc543c5ab9c5010d08e2084b380bb80.tar.xz latinime-811e37b37bc543c5ab9c5010d08e2084b380bb80.zip |
am 95bc256f: Add a flag to readDictioanryBinary in DictDecoder.
* commit '95bc256f419e9e47c26dfefd1ac31266dac2f344':
Add a flag to readDictioanryBinary in DictDecoder.
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); |