From 95bc256f419e9e47c26dfefd1ac31266dac2f344 Mon Sep 17 00:00:00 2001 From: Yuichiro Hanada Date: Wed, 11 Sep 2013 12:08:19 +0900 Subject: Add a flag to readDictioanryBinary in DictDecoder. Change-Id: I356adb72047ebc43c924fbff1ff45e7460508a31 --- .../inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java') 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); -- cgit v1.2.3-83-g751a