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

Commit acf09424 authored by Ed Heyl's avatar Ed Heyl
Browse files

Revert "Also show attached windows during FLAG_SHOW_WHEN_LOCKED animations"

This reverts commit 435f98de.
parent 463632ae
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -236,9 +236,6 @@ public class WindowAnimator {
        allowWhenLocked |= (win.mIsImWindow || imeTarget == win) && showImeOverKeyguard;
        // Show SHOW_WHEN_LOCKED windows
        allowWhenLocked |= (win.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0;
        // Show windows that are attached to SHOW_WHEN_LOCKED windows
        allowWhenLocked |= win.mAttachedWindow != null
                && (win.mAttachedWindow.mAttrs.flags & FLAG_SHOW_WHEN_LOCKED) != 0;

        if (appShowWhenLocked != null) {
            allowWhenLocked |= appShowWhenLocked == win.mAppToken