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

Commit cf58b33a authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix PIP window is showing on the lockscreen (1/2)

The acivity in pip mode should not be shown in keyguard
even it contains dismiss keyguard window or set shown when locked.

Bug: 130296591
Test: atest KeyguardLockedTests
Change-Id: I72b7d1cb1fc4e4d7d0626e91692ee96d2b6261ec
parent 30550e1f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -264,7 +264,8 @@ class KeyguardController {
        // Keyguard.
        return dismissKeyguard && canDismissKeyguard() && !mAodShowing
                && (mDismissalRequested
                || getDisplay(r.getDisplayId()).mDismissingKeyguardActivity != r);
                || (r.canShowWhenLocked()
                        && getDisplay(r.getDisplayId()).mDismissingKeyguardActivity != r));
    }

    /**