Skip to content

Commit f948500

Browse files
satok16Android (Google) Code Review
authored andcommitted
Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
2 parents 020daad + 3ba439d commit f948500

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)