diff options
author | Seigo Nonaka <nona@google.com> | 2015-05-04 17:31:00 -0700 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2015-05-07 23:18:49 +0000 |
commit | e792729b4ca60632b43c9e1ee6126fb5e031deae (patch) | |
tree | e07926a21fe5a79f44c8d84788fca222c62fb262 /src | |
parent | bc95630994227736aff46885ca1d9345829e83e2 (diff) | |
download | packages_apps_Settings-e792729b4ca60632b43c9e1ee6126fb5e031deae.zip packages_apps_Settings-e792729b4ca60632b43c9e1ee6126fb5e031deae.tar.gz packages_apps_Settings-e792729b4ca60632b43c9e1ee6126fb5e031deae.tar.bz2 |
Making the behavior deterministic when the IME picker is shown.
In the language & input settings, the auxiliary IME subtypes have been
hidden since they should not be a default. With Id156c85535a22, now we
can explicitly control the behavior of input method picker.
Note the this CL should not change any user visible behaviors.
Bug: 20763994
Change-Id: I9f797d07ba02363fab58ceb9aecb3cc11fbc407e
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/CryptKeeper.java b/src/com/android/settings/CryptKeeper.java index 7005ece..653a781 100644 --- a/src/com/android/settings/CryptKeeper.java +++ b/src/com/android/settings/CryptKeeper.java @@ -765,7 +765,7 @@ public class CryptKeeper extends Activity implements TextView.OnEditorActionList imeSwitcher.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { - imm.showInputMethodPicker(); + imm.showInputMethodPicker(false /* showAuxiliarySubtypes */); } }); } diff --git a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java index 1b2f567..8f23ce9 100644 --- a/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java +++ b/src/com/android/settings/inputmethod/InputMethodAndLanguageSettings.java @@ -325,7 +325,7 @@ public class InputMethodAndLanguageSettings extends SettingsPreferenceFragment } else if (KEY_CURRENT_INPUT_METHOD.equals(preference.getKey())) { final InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); - imm.showInputMethodPicker(); + imm.showInputMethodPicker(false /* showAuxiliarySubtypes */); } } else if (preference instanceof SwitchPreference) { final SwitchPreference pref = (SwitchPreference) preference; diff --git a/src/com/android/settings/inputmethod/InputMethodDialogReceiver.java b/src/com/android/settings/inputmethod/InputMethodDialogReceiver.java index 46be132..e442e88 100644 --- a/src/com/android/settings/inputmethod/InputMethodDialogReceiver.java +++ b/src/com/android/settings/inputmethod/InputMethodDialogReceiver.java @@ -26,7 +26,7 @@ public class InputMethodDialogReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { if (Settings.ACTION_SHOW_INPUT_METHOD_PICKER.equals(intent.getAction())) { ((InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE)) - .showInputMethodPicker(); + .showInputMethodPicker(true /* showAuxiliarySubtypes */); } } } |