Remove IMMS#MSG_SHOW_IM_CONFIG

This message is no longer used.  Hence we can safely remove it.

Bug: 192412909
Test: presubmit
Change-Id: I5456c1c053ea8df31ea7f165722130fbed45695b
This commit is contained in:
Yohei Yukawa
2022-01-21 07:44:18 -08:00
parent 71c14c4517
commit 0f3f40aaac

View File

@@ -219,7 +219,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
}
private static final int MSG_SHOW_IM_SUBTYPE_PICKER = 1;
private static final int MSG_SHOW_IM_CONFIG = 3;
private static final int MSG_HIDE_CURRENT_INPUT_METHOD = 1035;
private static final int MSG_REMOVE_IME_SURFACE = 1060;
@@ -4255,10 +4254,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
mMenuController.showInputMethodMenu(showAuxSubtypes, displayId);
return true;
case MSG_SHOW_IM_CONFIG:
showConfigureInputMethods();
return true;
// ---------------------------------------------------------
case MSG_HIDE_CURRENT_INPUT_METHOD:
@@ -4659,14 +4654,6 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
mContext.startActivityAsUser(intent, null, UserHandle.of(userId));
}
private void showConfigureInputMethods() {
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
mContext.startActivityAsUser(intent, null, UserHandle.CURRENT);
}
// ----------------------------------------------------------------------
/**