am 35acf309: Merge "Fix: mIsUserDictEnabled is never updated."

* commit '35acf309b7ecbe6741782ee635d6048b10dd4308':
  Fix: mIsUserDictEnabled is never updated.
main
Keisuke Kuroyanagi 2014-05-07 07:55:42 +00:00 committed by Android Git Automerger
commit b454d44101
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);
} }