summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-08-06 17:31:54 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-08-06 17:31:54 +0000
commit1bb06ef3c3630ff7e7c5c346ed9f225598fdd93a (patch)
tree87ba1813887880017d229fe4afc1ac8c537495da
parent24dfa524a93dd7fbd8736349c0499712cde1a13b (diff)
parent1bc8c46bcf60651050ad1fc33e1ec4e97fecb575 (diff)
Merge "Revert "Work around not working "ime set <imeId>""" into main
-rw-r--r--services/core/java/com/android/server/inputmethod/InputMethodManagerService.java11
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;
}