am 60eb2501: Support ver3 dict in native code.

* commit '60eb250194f05a944447e8bdee94c35a01911870':
  Support ver3 dict in native code.
main
Keisuke Kuroyanagi 2013-08-08 15:56:26 -07:00 committed by Android Git Automerger
commit 4905164419
1 changed files with 1 additions and 2 deletions

View File

@ -61,8 +61,7 @@ const int BinaryDictionaryFormatUtils::HEADER_VERSION_2_MINIMUM_SIZE = 12;
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;
}