Merge "Fix: mIsUserDictEnabled is never updated."

This commit is contained in:
Keisuke Kuroyanagi 2014-05-07 07:52:06 +00:00 committed by Android (Google) Code Review
commit 35acf309b7

View file

@ -234,6 +234,7 @@ public class DictionaryFacilitatorForSuggest {
synchronized (mLock) {
oldDictionaries = mDictionaries;
mDictionaries = newDictionaries;
mIsUserDictEnabled = UserBinaryDictionary.isEnabled(context);
if (reloadMainDictionary) {
asyncReloadMainDictionary(context, newLocale, listener);
}