diff options
author | 2014-02-24 06:00:50 -0800 | |
---|---|---|
committer | 2014-02-24 06:00:50 -0800 | |
commit | a6ab1f90657e3cbe91a11e8c64a16212a1070c48 (patch) | |
tree | 9214094f6008e98fcca15af9453ca4f232ad55b8 /tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | |
parent | b7a224636cb9a1356089475ffbd9e45b3084b80d (diff) | |
parent | 6e224a236a0a7cd253f74c7ed8b9a8f2eea41600 (diff) | |
download | latinime-a6ab1f90657e3cbe91a11e8c64a16212a1070c48.tar.gz latinime-a6ab1f90657e3cbe91a11e8c64a16212a1070c48.tar.xz latinime-a6ab1f90657e3cbe91a11e8c64a16212a1070c48.zip |
am 6e224a23: Merge "Correctly read the header of APK-embedded dicts"
* commit '6e224a236a0a7cd253f74c7ed8b9a8f2eea41600':
Correctly read the header of APK-embedded dicts
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java index f4b16a7e1..fa5123665 100644 --- a/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java +++ b/tests/src/com/android/inputmethod/latin/BinaryDictionaryDecayingTests.java @@ -150,7 +150,7 @@ public class BinaryDictionaryDecayingTests extends AndroidTestCase { binaryDictionary.flushWithGC(); binaryDictionary.close(); - final DictDecoder dictDecoder = FormatSpec.getDictDecoder(dictFile); + final DictDecoder dictDecoder = FormatSpec.getDictDecoder(dictFile, 0, dictFile.length()); try { final FusionDictionary dict = dictDecoder.readDictionaryBinary(false /* deleteDictIfBroken */); |