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

Commit 72a67c93 authored by Youngsang Cho's avatar Youngsang Cho
Browse files

PIP: Dismiss Recents when PIP moves to fullscreen

Bug: 27792906
Change-Id: I3d5c813362868c332e805a7beb325e9874e31606
parent 45acc156
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -98,7 +98,11 @@ public class RecentsTvActivity extends Activity implements OnPreDrawListener {
        public void onShowPipMenu() { }

        @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() { }