Merge "Fix missing IME switcher icon (w/ a hardware keyboard)" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-07-23 21:59:18 +00:00
committed by Android (Google) Code Review

View File

@@ -2942,7 +2942,7 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
vis = 0; vis = 0;
} }
if (!mCurPerceptible) { if (!mCurPerceptible) {
vis = 0; vis &= ~InputMethodService.IME_VISIBLE;
} }
// mImeWindowVis should be updated before calling shouldShowImeSwitcherLocked(). // mImeWindowVis should be updated before calling shouldShowImeSwitcherLocked().
final boolean needsToShowImeSwitcher = shouldShowImeSwitcherLocked(vis); final boolean needsToShowImeSwitcher = shouldShowImeSwitcherLocked(vis);