aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
diff options
context:
space:
mode:
authorDan Zivkovic <zivkovic@google.com>2015-03-20 11:16:46 -0700
committerDan Zivkovic <zivkovic@google.com>2015-03-20 11:16:46 -0700
commitc15bbb52a37be751fed2ba7e765dfd7727306308 (patch)
tree9fcbae84e121d0cdef5a3d74c6c5e2680dbc003a /java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
parentfe716f0f73ee551ce42b523983f92efccce79dc8 (diff)
downloadlatinime-c15bbb52a37be751fed2ba7e765dfd7727306308.tar.gz
latinime-c15bbb52a37be751fed2ba7e765dfd7727306308.tar.xz
latinime-c15bbb52a37be751fed2ba7e765dfd7727306308.zip
Retire Delight2 migration code to speed up tests.
We're waiting 10 minutes for tests to run, and half of that time is spent in depreacted code related to migration of Delight2 dictionary files. LatinIME will never migrate another Delight2 dictionary file again, so we can delete this code. Change-Id: I05c7d8429e8d9a26139456763c77997340fea8c2
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
index fa8fb2028..80daedd50 100644
--- a/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
+++ b/java/src/com/android/inputmethod/latin/ExpandableBinaryDictionary.java
@@ -121,8 +121,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
private static 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.VERSION402;
+ return formatVersion == FormatSpec.VERSION402;
}
public boolean isValidDictionaryLocked() {