aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-05-09 15:17:01 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-05-09 15:17:01 +0900
commit455dc84cf2c6526329b535f30000ea45b7d4d4d7 (patch)
tree49a82a4b726c54b8a73c880bd5826b9d4834b38b /native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
parent8a9d9de72a9ab02cb4726c205213d4f0b9f58e07 (diff)
downloadlatinime-455dc84cf2c6526329b535f30000ea45b7d4d4d7.tar.gz
latinime-455dc84cf2c6526329b535f30000ea45b7d4d4d7.tar.xz
latinime-455dc84cf2c6526329b535f30000ea45b7d4d4d7.zip
Add VERSION4_TEST for testing.
Bug: 13406708 Change-Id: I0b434717ea3edbb131650af634c53cfbfe113c3e
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.h2
1 files changed, 2 insertions, 0 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 e4a6dc594..da24302c2 100644
--- a/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
+++ b/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h
@@ -139,6 +139,8 @@ class HeaderPolicy : public DictionaryHeaderStructurePolicy {
switch (mDictFormatVersion) {
case FormatUtils::VERSION_2:
return FormatUtils::VERSION_2;
+ case FormatUtils::VERSION_4_ONLY_FOR_TESTING:
+ return FormatUtils::VERSION_4_ONLY_FOR_TESTING;
case FormatUtils::VERSION_4:
return FormatUtils::VERSION_4;
default: