aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
diff options
context:
space:
mode:
authorAkifumi Yoshimoto <akifumi@google.com>2014-09-10 18:33:24 +0900
committerAkifumi Yoshimoto <akifumi@google.com>2014-10-02 12:27:49 +0900
commit9168ab60cf08385554a7a8255e40698988ee37f6 (patch)
tree8adddd41e28e7a854795b4c0727c58ec23a212c1 /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
parent0c2cdcc7350e8dc0e97f0aa4f343984f3cf39f72 (diff)
downloadlatinime-9168ab60cf08385554a7a8255e40698988ee37f6.tar.gz
latinime-9168ab60cf08385554a7a8255e40698988ee37f6.tar.xz
latinime-9168ab60cf08385554a7a8255e40698988ee37f6.zip
Include a code point table in the binary dictionary.
Bug:17097992 Change-Id: I677a5eb3a704e4386f6573360e44ca335d81d2df
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/FormatSpec.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;