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

Commit 619d137a authored by Linus Tufvesson's avatar Linus Tufvesson Committed by Automerger Merge Worker
Browse files

Merge "Hide SAW subwindows" into tm-dev am: 61a992c6

parents 01aac2c5 61a992c6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3335,12 +3335,13 @@ class WindowState extends WindowContainer<WindowState> implements WindowManagerP
    }

    void setForceHideNonSystemOverlayWindowIfNeeded(boolean forceHide) {
        final int baseType = getBaseType();
        if (mSession.mCanAddInternalSystemWindow
                || (!isSystemAlertWindowType(mAttrs.type) && mAttrs.type != TYPE_TOAST)) {
                || (!isSystemAlertWindowType(baseType) && baseType != TYPE_TOAST)) {
            return;
        }

        if (mAttrs.type == TYPE_APPLICATION_OVERLAY && mAttrs.isSystemApplicationOverlay()
        if (baseType == TYPE_APPLICATION_OVERLAY && mAttrs.isSystemApplicationOverlay()
                && mSession.mCanCreateSystemApplicationOverlay) {
            return;
        }