Call PersonalizationDictionarySessionRegistrar.init().
Wrongly removed in I1f50cb137b6054dc9. Bug: 13067743 Change-Id: I27cd221cb7f6e403c3fc128d65d14dbf628b6f55
This commit is contained in:
parent
4377ae31cf
commit
34fb962513
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue