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

Commit 8701ee56 authored by Winson Chung's avatar Winson Chung Committed by android-build-merger
Browse files

Merge "Fix z-order issue with text cursors and PiP." into oc-dr1-dev

am: bd2682d0

Change-Id: I0dd3a57d7f2e87074f1bd5275c011116dcba1d9d
parents 21c14de8 bd2682d0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1970,6 +1970,12 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
            return false;
        }

        final boolean windowsAreFocusable = mAppToken != null && mAppToken.windowsAreFocusable();
        if (!windowsAreFocusable) {
            // This window can't be an IME target if the app's windows should not be focusable.
            return false;
        }

        final int fl = mAttrs.flags & (FLAG_NOT_FOCUSABLE | FLAG_ALT_FOCUSABLE_IM);
        final int type = mAttrs.type;