Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83ae16af authored by Yohei Yukawa's avatar Yohei Yukawa Committed by android-build-merger
Browse files

Merge "Fine-tune the condition to hide IME switcher" into oc-dr1-dev am: dbd60cd6 am: 0da3dce9

am: ec8558ab

Change-Id: I8e4191fae160e1d15e1b794f09191c013541c08f
parents f40207a6 ec8558ab
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2110,7 +2110,8 @@ public class InputMethodManagerService extends IInputMethodManager.Stub
    private boolean shouldShowImeSwitcherLocked(int visibility) {
        if (!mShowOngoingImeSwitcherForPhones) return false;
        if (mSwitchingDialog != null) return false;
        if (isScreenLocked()) return false;
        if (mWindowManagerInternal.isKeyguardShowingAndNotOccluded()
                && mKeyguardManager != null && mKeyguardManager.isKeyguardSecure()) return false;
        if ((visibility & InputMethodService.IME_ACTIVE) == 0) return false;
        if (mWindowManagerInternal.isHardKeyboardAvailable()) {
            if (mHardKeyboardBehavior == HardKeyboardBehavior.WIRELESS_AFFORDANCE) {