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

Commit 48e34670 authored by Youngsang Cho's avatar Youngsang Cho Committed by Android (Google) Code Review
Browse files

Merge "PIP: Dismiss Recents when PIP moves to fullscreen" into nyc-dev

parents 3646f559 72a67c93
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -105,7 +105,11 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener {
        }

        @Override
        public void onMoveToFullscreen() { }
        public void onMoveToFullscreen() {
            // Recents should be dismissed when PIP moves to fullscreen. If not, Recents will
            // be unnecessarily shown in the scenario: PIP->Fullscreen->PIP.
            dismissRecentsToLaunchTargetTaskOrHome();
        }

        @Override
        public void onPipResizeAboutToStart() { }