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

Commit bd2682d0 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

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

parents b822ad3e b1549341
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;