Use android.provider.Settings.EXTRA_INPUT_METHOD_ID

This change also fixes the action name of
android.settings.INPUT_METHOD_SUBTYPE_SETTINGS.

Change-Id: Ie08e7f9144f8ff8faa8e7d8edf63fbd59421b18c
This commit is contained in:
Tadashi G. Takaoka
2011-01-20 23:54:21 +09:00
parent 4c0100f48f
commit 9f7320132b
3 changed files with 4 additions and 6 deletions

View File

@@ -223,7 +223,7 @@ public class InputMethodConfig extends SettingsPreferenceFragment {
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
intent.putExtra(InputMethodAndSubtypeEnabler.EXTRA_INPUT_METHOD_ID, imiId);
intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, imiId);
prefScreen.setIntent(intent);
keyboardSettingsCategory.addPreference(prefScreen);
mActiveInputMethodsPrefMap.put(imi, prefScreen);