diff options
| author | 2019-01-28 00:00:50 -0800 | |
|---|---|---|
| committer | 2019-01-28 00:00:50 -0800 | |
| commit | 670abea240252b2d251f665c43c3f8b9d001ccda (patch) | |
| tree | 8859df96d2b47aa6dcee497e1c97c5bc125d2802 | |
| parent | 6ab2e4a91ee5aa0d91442f29ac17652b87cf3a89 (diff) | |
Fix a typo in an error message in InputMethodManagerService
This it a follow up CL to my previous CL [1], which introduced
EditorInfo#targetInputMethodUser.
There is a typo in Slog.e() message from
InputMethodManagerService#startInputOrWindowGainedFocusInternal() when
cross-user StartInput is requested without without
INTERACT_ACROSS_USERS_FULL permission. This CL addresses the typo.
There should be no user-visible behavior change.
[1]: Ia7ea944438d69669ccdf9111b34ba400e786a602
0f5eade4a492fc91130da1aedcad0999932f4137
Bug: 120744418
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: I09022bb225fb2e37ebf73218aedef9ab2503c53e
| -rw-r--r-- | services/core/java/com/android/server/inputmethod/InputMethodManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java index 4db541c29448..96889019bff4 100644 --- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java @@ -2781,7 +2781,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub if (attribute != null && attribute.targetInputMethodUser != null && attribute.targetInputMethodUser.getIdentifier() != callingUserId) { mContext.enforceCallingPermission(Manifest.permission.INTERACT_ACROSS_USERS_FULL, - "Using EditorInfo.user requires INTERACT_ACROSS_USERS_FULL."); + "Using EditorInfo.targetInputMethodUser requires INTERACT_ACROSS_USERS_FULL."); userId = attribute.targetInputMethodUser.getIdentifier(); if (!mUserManagerInternal.isUserRunning(userId)) { // There is a chance that we hit here because of race condition. Let's just return |