diff options
| author | 2024-08-06 17:31:54 +0000 | |
|---|---|---|
| committer | 2024-08-06 17:31:54 +0000 | |
| commit | 1bb06ef3c3630ff7e7c5c346ed9f225598fdd93a (patch) | |
| tree | 87ba1813887880017d229fe4afc1ac8c537495da | |
| parent | 24dfa524a93dd7fbd8736349c0499712cde1a13b (diff) | |
| parent | 1bc8c46bcf60651050ad1fc33e1ec4e97fecb575 (diff) | |
Merge "Revert "Work around not working "ime set <imeId>""" into main
| -rw-r--r-- | services/core/java/com/android/server/inputmethod/InputMethodManagerService.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java index ea3d7d10f3f8..ba01f010fdd3 100644 --- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java @@ -6577,17 +6577,6 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. out.print(imeId); out.print(" selected for user #"); out.println(userId); - - // Workaround for b/354782333. - final var settingsValue = SecureSettingsWrapper.getString( - Settings.Secure.DEFAULT_INPUT_METHOD, "", userId); - if (!TextUtils.equals(settingsValue, imeId)) { - Slog.w(TAG, "DEFAULT_INPUT_METHOD=" + settingsValue - + " is not updated. Fixing it up to " + imeId - + " See b/354782333."); - SecureSettingsWrapper.putString( - Settings.Secure.DEFAULT_INPUT_METHOD, imeId, userId); - } } hasFailed |= failedToSelectUnknownIme; } |