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