Merge "Only checking activity state to determine visibility when entering PiP."
This commit is contained in:
committed by
Android (Google) Code Review
commit
fbb91c963e
@@ -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