diff options
author | 2014-05-09 07:06:05 +0000 | |
---|---|---|
committer | 2014-05-09 07:06:06 +0000 | |
commit | eaa347bc1a166ee6cfbf6cc49399c43085422581 (patch) | |
tree | 43eb7e93f06a996707f33980d76571aff65beedd /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | |
parent | 82fa755bac1effec15bc50517c50d12de99d0fd6 (diff) | |
parent | 455dc84cf2c6526329b535f30000ea45b7d4d4d7 (diff) | |
download | latinime-eaa347bc1a166ee6cfbf6cc49399c43085422581.tar.gz latinime-eaa347bc1a166ee6cfbf6cc49399c43085422581.tar.xz latinime-eaa347bc1a166ee6cfbf6cc49399c43085422581.zip |
Merge "Add VERSION4_TEST for testing."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/FormatSpec.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/FormatSpec.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java index f25503488..613ff2ba4 100644 --- a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java +++ b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java @@ -186,7 +186,12 @@ public final class FormatSpec { // From version 4 on, we use version * 100 + revision as a version number. That allows // us to change the format during development while having testing devices remove // older files with each upgrade, while still having a readable versioning scheme. + // When we bump up the dictionary format version, we should update + // ExpandableDictionary.needsToMigrateDictionary() and + // ExpandableDictionary.matchesExpectedBinaryDictFormatVersionForThisType(). public static final int VERSION2 = 2; + // Dictionary version used for testing. + public static final int VERSION4_ONLY_FOR_TESTING = 399; public static final int VERSION4 = 401; static final int MINIMUM_SUPPORTED_VERSION = VERSION2; static final int MAXIMUM_SUPPORTED_VERSION = VERSION4; |