Make user and contacts dict use ver3 format.

Bug: 6669677
Change-Id: I6a20eed2c8afdd1c16ada5bf85067864c7cd2a7f
main
Keisuke Kuroyanagi 2013-08-08 14:57:19 +09:00
parent 60eb250194
commit b6d48c4c0b
1 changed files with 2 additions and 3 deletions

View File

@ -37,10 +37,9 @@ import java.util.HashMap;
* An in memory dictionary for memorizing entries and writing a binary dictionary. * An in memory dictionary for memorizing entries and writing a binary dictionary.
*/ */
public class DictionaryWriter extends AbstractDictionaryWriter { public class DictionaryWriter extends AbstractDictionaryWriter {
// TODO: Regenerate version 3 binary dictionary. private static final int BINARY_DICT_VERSION = 3;
private static final int BINARY_DICT_VERSION = 2;
private static final FormatSpec.FormatOptions FORMAT_OPTIONS = private static final FormatSpec.FormatOptions FORMAT_OPTIONS =
new FormatSpec.FormatOptions(BINARY_DICT_VERSION); new FormatSpec.FormatOptions(BINARY_DICT_VERSION, true /* supportsDynamicUpdate */);
private FusionDictionary mFusionDictionary; private FusionDictionary mFusionDictionary;