summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-07-23 21:59:18 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-07-23 21:59:18 +0000
commitaca9854a66bbfed83cc86422f14148d03749b794 (patch)
treefe5f2a0c6284affcf904c47824a6b4382458dc7b
parentfcaa94e2dc34760b9d9cf32762c88954618414e5 (diff)
parent5749b51f8c739f8fa82760a8a7868e9b05aa9dd2 (diff)
Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev
-rw-r--r--services/core/java/com/android/server/inputmethod/InputMethodManagerService.java2
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 0154fe07a418..254285dfbd41 100644
--- a/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java
+++ b/services/core/java/com/android/server/inputmethod/InputMethodManagerService.java
@@ -2942,7 +2942,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
vis = 0;
}
if (!mCurPerceptible) {
- vis = 0;
+ vis &= ~InputMethodService.IME_VISIBLE;
}
// mImeWindowVis should be updated before calling shouldShowImeSwitcherLocked().
final boolean needsToShowImeSwitcher = shouldShowImeSwitcherLocked(vis);