Codebase list mozc / 1481651
Fix the version check logic of the downloadable dictionary for NaCl-Mozc. This CL fixes a bug in the version check of the downloadable dictionary for NaCl-Mozc. Note that only NaCl-Mozc built with GOOGLE_JAPANESE_INPUT_BUILD enabled is affected. BUG=none TEST=none git-svn-id: https://mozc.googlecode.com/svn/trunk@222 a6090854-d499-a067-5803-1114d4e51264 Yohei Yukawa 9 years ago
2 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
351351 // 0x2-: BigDictionary version miss match.
352352 // 0x-*: Status of the downloader.
353353 int GetBigDictionaryState() {
354 if (big_dictionary_version_ == Version::GetMozcVersion()) {
354 if (big_dictionary_version_ == Version::GetMozcNaclDictionaryVersion()) {
355355 return 0;
356356 }
357357 int status = 0;
00 MAJOR=1
11 MINOR=15
2 BUILD=1801
2 BUILD=1802
33 REVISION=102
44 # ANDROID_VERSION_CODE should be the number of update times.
55 # It must at least increase when the build updates.
6 ANDROID_VERSION_CODE=1801
6 ANDROID_VERSION_CODE=1802
77 # NACL_DICTIONARY_VERSION is the target version of the system dictionary to be
88 # downloaded by NaCl Mozc.
99 NACL_DICTIONARY_VERSION=4