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

Commit 7e3233a5 authored by Winson Chung's avatar Winson Chung
Browse files

Only checking activity state to determine visibility when entering PiP.

Test: android.server.cts.ActivityManagerPinnedStackTests
Change-Id: I5ed05ef9bdb15dc7975bd83ac2e0f4020b148ea2
parent 576ea383
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -967,7 +967,7 @@ final class ActivityRecord {
            return supportsPictureInPicture();
        }

        if (supportsPictureInPicture() && visible) {
        if (supportsPictureInPicture()) {
            switch (state) {
                case RESUMED:
                case PAUSING: