am 34fb9625
: Call PersonalizationDictionarySessionRegistrar.init().
* commit '34fb962513ce25ad81149bfc4034b40131ce03fa': Call PersonalizationDictionarySessionRegistrar.init().
This commit is contained in:
commit
c1f67233c8
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue