commit | 4905164419cd2893ea950c2b78aa253cb5ee2201 | [log] [tgz] |
---|---|---|
author | Keisuke Kuroyanagi <ksk@google.com> | Thu Aug 08 15:56:26 2013 -0700 |
committer | Android Git Automerger <android-git-automerger@android.com> | Thu Aug 08 15:56:26 2013 -0700 |
tree | 1d6fd88ffaf8cea25c8f0dc0b4df5f8e54c835b8 | |
parent | 1058753c52abde1fb9bb1967549b188dfa505e8c [diff] | |
parent | 60eb250194f05a944447e8bdee94c35a01911870 [diff] |
am 60eb2501: Support ver3 dict in native code. * commit '60eb250194f05a944447e8bdee94c35a01911870': Support ver3 dict in native code.
diff --git a/native/jni/src/suggest/core/dictionary/binary_dictionary_format_utils.cpp b/native/jni/src/suggest/core/dictionary/binary_dictionary_format_utils.cpp index 5d14a05..0e8d72f 100644 --- a/native/jni/src/suggest/core/dictionary/binary_dictionary_format_utils.cpp +++ b/native/jni/src/suggest/core/dictionary/binary_dictionary_format_utils.cpp
@@ -61,8 +61,7 @@ if (ByteArrayUtils::readUint16(dict, 4) == 2) { return VERSION_2; } else if (ByteArrayUtils::readUint16(dict, 4) == 3) { - // TODO: Support version 3 dictionary. - return UNKNOWN_VERSION; + return VERSION_3; } else { return UNKNOWN_VERSION; }