aboutsummaryrefslogtreecommitdiffstats
path: root/java-overridable/src
diff options
context:
space:
mode:
authorMohammadinamul Sheik <inamul@google.com>2015-02-20 18:30:23 -0800
committerMohammadinamul Sheik <inamul@google.com>2015-02-20 18:30:23 -0800
commiteeeec21baceea10bd1f96cfc5395fae7ec837f0c (patch)
treeaada316e868b71370f8053c6bf255ed8666fe6d1 /java-overridable/src
parentfe3c4ef9401d7cdcf07498d97820980fa90528fb (diff)
downloadlatinime-eeeec21baceea10bd1f96cfc5395fae7ec837f0c.tar.gz
latinime-eeeec21baceea10bd1f96cfc5395fae7ec837f0c.tar.xz
latinime-eeeec21baceea10bd1f96cfc5395fae7ec837f0c.zip
Make checksum and header checks decoder dependent.
Change-Id: I0ec4aa69d9b5f013ae926cc368e25225d9d3073b
Diffstat (limited to 'java-overridable/src')
-rw-r--r--java-overridable/src/com/android/inputmethod/latin/define/DecoderSpecificConstants.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/java-overridable/src/com/android/inputmethod/latin/define/DecoderSpecificConstants.java b/java-overridable/src/com/android/inputmethod/latin/define/DecoderSpecificConstants.java
index 4789e208d..9e97b12a5 100644
--- a/java-overridable/src/com/android/inputmethod/latin/define/DecoderSpecificConstants.java
+++ b/java-overridable/src/com/android/inputmethod/latin/define/DecoderSpecificConstants.java
@@ -30,4 +30,7 @@ public class DecoderSpecificConstants {
public static final String DECODER_DICT_SUFFIX = "";
+ public static final boolean SHOULD_VERIFY_MAGIC_NUMBER = true;
+ public static final boolean SHOULD_VERIFY_CHECKSUM = true;
+ public static final boolean SHOULD_USE_DICT_VERSION = true;
}