Fix: mIsUserDictEnabled is never updated.

Bug: 14602321

Change-Id: Ib98d5648ea2a901393b79c7f300bc6d209ee98d1
This commit is contained in:
Keisuke Kuroyanagi 2014-05-07 16:45:37 +09:00
parent 04348c3637
commit 7d52f9b81c

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