* commit '67b3039d37c0ca4b4314129bb151183fde614aed': Fix a bug on updating enabled IMEs
This commit is contained in:
@@ -292,10 +292,6 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
|
||||
// Refresh internal states in mInputMethodSettingValues to keep the latest
|
||||
// "InputMethodInfo"s and "InputMethodSubtype"s
|
||||
mInputMethodSettingValues.refreshAllInputMethodAndSubtypes();
|
||||
// TODO: Consolidate the logic to InputMethodSettingsWrapper
|
||||
InputMethodAndSubtypeUtil.loadInputMethodSubtypeList(
|
||||
this, getContentResolver(),
|
||||
mInputMethodSettingValues.getInputMethodList(), null);
|
||||
updateInputMethodPreferenceViews();
|
||||
}
|
||||
|
||||
@@ -437,6 +433,13 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment
|
||||
}
|
||||
}
|
||||
updateCurrentImeName();
|
||||
// TODO: Consolidate the logic with InputMethodSettingsWrapper
|
||||
// CAVEAT: The preference class here does not know about the default value - that is
|
||||
// managed by the Input Method Manager Service, so in this case it could save the wrong
|
||||
// value. Hence we must update the checkboxes here.
|
||||
InputMethodAndSubtypeUtil.loadInputMethodSubtypeList(
|
||||
this, getContentResolver(),
|
||||
mInputMethodSettingValues.getInputMethodList(), null);
|
||||
}
|
||||
|
||||
private void updateCurrentImeName() {
|
||||
|
Reference in New Issue
Block a user