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

Commit 9e7884a0 authored by John Spurlock's avatar John Spurlock
Browse files

Force the nav bar visible when an IME window is visible.

Bug:9499956
Change-Id: I1ed895c6283476440b6c47e1764b6b0fe2aa949a
parent d2676f9b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3334,7 +3334,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        if (DEBUG_LAYOUT) Slog.i(TAG, "Win " + win + ": isVisibleOrBehindKeyguardLw="
                + win.isVisibleOrBehindKeyguardLw());
        if (mTopFullscreenOpaqueWindowState == null && (win.getAttrs().privateFlags
                &WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_NAV_BAR) != 0) {
                &WindowManager.LayoutParams.PRIVATE_FLAG_FORCE_SHOW_NAV_BAR) != 0
                || (win.isVisibleLw() && attrs.type == TYPE_INPUT_METHOD)) {
            if (mForcingShowNavBarLayer < 0) {
                mForcingShowNavBar = true;
                mForcingShowNavBarLayer = win.getSurfaceLayer();