Fix the issue on the input method switch picker
Bug: 7292731 Change-Id: I8cb51dd01e4c467fff511d4ecee79426f9b2ed80
This commit is contained in:
@@ -2531,7 +2531,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
if (!TextUtils.isEmpty(inputMethodId)) {
|
||||
intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, inputMethodId);
|
||||
}
|
||||
mContext.startActivity(intent);
|
||||
mContext.startActivityAsUser(intent, null, UserHandle.CURRENT);
|
||||
}
|
||||
|
||||
private void showConfigureInputMethods() {
|
||||
@@ -2539,7 +2539,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
|
||||
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
mContext.startActivity(intent);
|
||||
mContext.startActivityAsUser(intent, null, UserHandle.CURRENT);
|
||||
}
|
||||
|
||||
private boolean isScreenLocked() {
|
||||
|
||||
Reference in New Issue
Block a user