am 34fb9625: Call PersonalizationDictionarySessionRegistrar.init().

* commit '34fb962513ce25ad81149bfc4034b40131ce03fa':
  Call PersonalizationDictionarySessionRegistrar.init().
main
Keisuke Kuroyanagi 2014-02-19 06:36:18 -08:00 committed by Android Git Automerger
commit c1f67233c8
1 changed files with 4 additions and 0 deletions

View File

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