Only checking activity state to determine visibility when entering PiP.
Test: android.server.cts.ActivityManagerPinnedStackTests Change-Id: I5ed05ef9bdb15dc7975bd83ac2e0f4020b148ea2
This commit is contained in:
@@ -967,7 +967,7 @@ final class ActivityRecord {
|
||||
return supportsPictureInPicture();
|
||||
}
|
||||
|
||||
if (supportsPictureInPicture() && visible) {
|
||||
if (supportsPictureInPicture()) {
|
||||
switch (state) {
|
||||
case RESUMED:
|
||||
case PAUSING:
|
||||
|
||||
Reference in New Issue
Block a user