Call PersonalizationDictionarySessionRegistrar.init().

Wrongly removed in I1f50cb137b6054dc9.

Bug: 13067743
Change-Id: I27cd221cb7f6e403c3fc128d65d14dbf628b6f55
This commit is contained in:
Keisuke Kuroyanagi 2014-02-19 23:27:14 +09:00
parent 4377ae31cf
commit 34fb962513

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);
}
}