am 34fb9625: Call PersonalizationDictionarySessionRegistrar.init().

* commit '34fb962513ce25ad81149bfc4034b40131ce03fa':
  Call PersonalizationDictionarySessionRegistrar.init().
This commit is contained in:
Keisuke Kuroyanagi 2014-02-19 06:36:18 -08:00 committed by Android Git Automerger
commit c1f67233c8

View file

@ -557,6 +557,10 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// Remove personalization dictionaries.
PersonalizationHelper.removeAllPersonalizationDictionaries(this);
PersonalizationDictionarySessionRegistrar.resetAll(this);
} else {
final DictionaryFacilitatorForSuggest dictionaryFacilitator =
(suggest == null) ? null : suggest.mDictionaryFacilitator;
PersonalizationDictionarySessionRegistrar.init(this, dictionaryFacilitator);
}
}