Skip to content

Commit 3ba439d

Browse files
committed
Fix the issue on the input method switch picker
Bug: 7292731 Change-Id: I8cb51dd01e4c467fff511d4ecee79426f9b2ed80
1 parent f5e2b2c commit 3ba439d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/java/com/android/server/InputMethodManagerService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2531,15 +2531,15 @@ private void showInputMethodAndSubtypeEnabler(String inputMethodId) {
25312531
if (!TextUtils.isEmpty(inputMethodId)) {
25322532
intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, inputMethodId);
25332533
}
2534-
mContext.startActivity(intent);
2534+
mContext.startActivityAsUser(intent, null, UserHandle.CURRENT);
25352535
}
25362536

25372537
private void showConfigureInputMethods() {
25382538
Intent intent = new Intent(Settings.ACTION_INPUT_METHOD_SETTINGS);
25392539
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
25402540
| Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
25412541
| Intent.FLAG_ACTIVITY_CLEAR_TOP);
2542-
mContext.startActivity(intent);
2542+
mContext.startActivityAsUser(intent, null, UserHandle.CURRENT);
25432543
}
25442544

25452545
private boolean isScreenLocked() {

0 commit comments

Comments
 (0)