Merge "Fix: mIsUserDictEnabled is never updated."
This commit is contained in:
commit
35acf309b7
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ public class DictionaryFacilitatorForSuggest {
|
||||||
synchronized (mLock) {
|
synchronized (mLock) {
|
||||||
oldDictionaries = mDictionaries;
|
oldDictionaries = mDictionaries;
|
||||||
mDictionaries = newDictionaries;
|
mDictionaries = newDictionaries;
|
||||||
|
mIsUserDictEnabled = UserBinaryDictionary.isEnabled(context);
|
||||||
if (reloadMainDictionary) {
|
if (reloadMainDictionary) {
|
||||||
asyncReloadMainDictionary(context, newLocale, listener);
|
asyncReloadMainDictionary(context, newLocale, listener);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue