aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-10-31 14:19:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-31 14:19:44 +0000
commitb3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17 (patch)
tree83d386ee7a2edfd541e0c88f8f044c4bcd3c9334 /native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
parentef931546a0236ac2e24ec78f2830e3c36d56775d (diff)
parentea468cc9de468b6574f98b3a7614decfcb7e456e (diff)
downloadlatinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.tar.gz
latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.tar.xz
latinime-b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17.zip
Merge "Update v4 format version from 402 to 403."
Diffstat (limited to 'native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h')
-rw-r--r--native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
index abc7f9906..7a5acd7d5 100644
--- a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
+++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
@@ -141,10 +141,10 @@ class HeaderPolicy : public DictionaryHeaderStructurePolicy {
return FormatUtils::VERSION_202;
case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
return FormatUtils::VERSION_4_ONLY_FOR_TESTING;
- case FormatUtils::VERSION_4:
- return FormatUtils::VERSION_4;
- case FormatUtils::VERSION_4_DEV:
- return FormatUtils::VERSION_4_DEV;
+ case FormatUtils::VERSION_402:
+ return FormatUtils::VERSION_402;
+ case FormatUtils::VERSION_403:
+ return FormatUtils::VERSION_403;
default:
return FormatUtils::UNKNOWN_VERSION;
}
@@ -247,7 +247,7 @@ class HeaderPolicy : public DictionaryHeaderStructurePolicy {
}
bool supportsBeginningOfSentence() const {
- return mDictFormatVersion >= FormatUtils::VERSION_4;
+ return mDictFormatVersion >= FormatUtils::VERSION_402;
}
const int *getCodePointTable() const {