Fix: mIsUserDictEnabled is never updated.

Bug: 14602321

Change-Id: Ib98d5648ea2a901393b79c7f300bc6d209ee98d1
main
Keisuke Kuroyanagi 2014-05-07 16:45:37 +09:00
parent 04348c3637
commit 7d52f9b81c
1 changed files with 1 additions and 0 deletions

View File

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