aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorAkifumi Yoshimoto <akifumi@google.com>2014-10-02 09:29:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-02 09:29:07 +0000
commit918b05cc04dc50f79647c5806058cdff65df4568 (patch)
treec3f0370923ed3699e529c90aa162f0cb4b14024e /java
parent9443530625b0fc3acb3dc3c1bb03f54c791cdf41 (diff)
parent7e5614520a581afa79a51677e973a9ff6dc29162 (diff)
downloadlatinime-918b05cc04dc50f79647c5806058cdff65df4568.tar.gz
latinime-918b05cc04dc50f79647c5806058cdff65df4568.tar.xz
latinime-918b05cc04dc50f79647c5806058cdff65df4568.zip
am 7e561452: Merge "Include a code point table in the binary dictionary."
* commit '7e5614520a581afa79a51677e973a9ff6dc29162': 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;