am d7b76727: Merge "Make user and contacts dict use ver3 format."

* commit 'd7b76727b9411a003c66182af20617afd38edde5':
  Make user and contacts dict use ver3 format.
main
Keisuke Kuroyanagi 2013-08-08 00:54:41 -07:00 committed by Android Git Automerger
commit 765179b355
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;