File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
services/java/com/android/server Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 () {
You can’t perform that action at this time.
0 commit comments