Merge "Only checking activity state to determine visibility when entering PiP."

This commit is contained in:
TreeHugger Robot
2016-12-13 01:44:38 +00:00
committed by Android (Google) Code Review

View File

@@ -967,7 +967,7 @@ final class ActivityRecord {
return supportsPictureInPicture();
}
if (supportsPictureInPicture() && visible) {
if (supportsPictureInPicture()) {
switch (state) {
case RESUMED:
case PAUSING: