Skip to content

Commit f23a2df

Browse files
satok16Android Git Automerger
authored andcommitted
am f948500: Merge "Fix the issue on the input method switch picker" into jb-mr1-dev
* commit 'f948500239803b2b7247ff5058e39e4d645c5b70': Fix the issue on the input method switch picker
2 parents 82d5b6e + f948500 commit f23a2df

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)