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

Commit a0e565be authored by Louis Chang's avatar Louis Chang
Browse files

Prevent PIP activity shown while keyguard locked

PIP activity with FLAG_DISMISS_KEYGUARD flag was able to shown
when keyguard is occluded by another fullscreen show-when-lock activity.

Bug: 417612834
Test: KeyguardLockedTests
Flag: EXEMPT bugfix

Change-Id: Idaf61e39eff8b1c632ede0038975fd94fa041655
parent 42d4b63e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4691,6 +4691,10 @@ final class ActivityRecord extends WindowToken {
    }

    boolean containsDismissKeyguardWindow() {
        if (inPinnedWindowingMode()) {
            return false;
        }

        // Window state is transient during relaunch. We are not guaranteed to be frozen during the
        // entirety of the relaunch.
        if (isRelaunching()) {