aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAkifumi Yoshimoto <akifumi@google.com>2014-10-02 08:55:18 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-02 08:55:18 +0000
commit7e5614520a581afa79a51677e973a9ff6dc29162 (patch)
treec25f5df268181fa1898d5fef1fa3d29cd324d0f7 /java
parent1a7da2ec49547423d5071a8fd5b45dcd949ec332 (diff)
parent9168ab60cf08385554a7a8255e40698988ee37f6 (diff)
downloadlatinime-7e5614520a581afa79a51677e973a9ff6dc29162.tar.gz
latinime-7e5614520a581afa79a51677e973a9ff6dc29162.tar.xz
latinime-7e5614520a581afa79a51677e973a9ff6dc29162.zip
Merge "Include a code point table in the binary dictionary."
Diffstat (limited to 'java')
-rw-r--r--java/src/com/android/inputmethod/latin/makedict/FormatSpec.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
index 2661d5d48..34edfa0da 100644
--- a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
+++ b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
@@ -163,13 +163,15 @@ public final class FormatSpec {
static final int NOT_A_VERSION_NUMBER = -1;
// These MUST have the same values as the relevant constants in format_utils.h.
- // From version 4 on, we use version * 100 + revision as a version number. That allows
+ // From version 2.01 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;
+ public static final int VERSION201 = 201;
+ public static final int MINIMUM_SUPPORTED_VERSION_OF_CODE_POINT_TABLE = VERSION201;
// Dictionary version used for testing.
public static final int VERSION4_ONLY_FOR_TESTING = 399;
public static final int VERSION401 = 401;