From 07e14126318f7661f76fdce421d723d64e7ea8de Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Tue, 10 Jun 2014 19:22:40 +0900 Subject: Purge dict reading code for 401 and create for 402. Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb --- java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'java/src') diff --git a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java index 8664c09e4..0a5478c95 100644 --- a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java +++ b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java @@ -114,8 +114,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary { private boolean needsToMigrateDictionary(final int formatVersion) { // When we bump up the dictionary format version, the old version should be added to here // for supporting migration. Note that native code has to support reading such formats. - return formatVersion == FormatSpec.VERSION4_ONLY_FOR_TESTING - || formatVersion == FormatSpec.VERSION401; + return formatVersion == FormatSpec.VERSION4_ONLY_FOR_TESTING; } public boolean isValidDictionaryLocked() { -- cgit v1.2.3-83-g751a