aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-12-05 18:02:20 +0900
committerJean Chalard <jchalard@google.com>2013-12-06 14:53:03 +0900
commita72e8f1ede3dc11fb60bd1346e6c7cb07c5d126e (patch)
tree8e5cbf3259e4ab4097e803f8c787d5f2516e004f /java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
parentcb27d955f334754e6cad0a5c3f8e13e913803f4a (diff)
downloadlatinime-a72e8f1ede3dc11fb60bd1346e6c7cb07c5d126e.tar.gz
latinime-a72e8f1ede3dc11fb60bd1346e6c7cb07c5d126e.tar.xz
latinime-a72e8f1ede3dc11fb60bd1346e6c7cb07c5d126e.zip
[RF3] Cleanups
Make the version number a single number on native and java side. Also, remove the hasValidContents method. It's useless since the native code already checks this when creating the dictionary (I wish I had known that when I added it). Bug: 11281748 Change-Id: I572d37429972b2f280e4bdb748b709e5d0d7737e
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, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
index 93ccc62b4..b81c8d8e5 100644
--- a/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
+++ b/java/src/com/android/inputmethod/latin/makedict/FormatSpec.java
@@ -204,8 +204,8 @@ public final class FormatSpec {
static final int NOT_A_VERSION_NUMBER = -1;
static final int FIRST_VERSION_WITH_DYNAMIC_UPDATE = 3;
static final int FIRST_VERSION_WITH_TERMINAL_ID = 4;
- static final int VERSION3 = 3;
- static final int VERSION4 = 4;
+ public static final int VERSION3 = 3;
+ public static final int VERSION4 = 4;
// These options need to be the same numeric values as the one in the native reading code.
static final int GERMAN_UMLAUT_PROCESSING_FLAG = 0x1;