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

Commit bfec974f authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Do not trigger PiP on tapping on TaskView

Regression from ag/15158868, we should not send onUserLeaveHint on
tapping on the app icon in Recents / Overview.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/fr0fdecPEned7rMjgdWhCQ
Bug: 198682451
Test: manual, tap on app icon in Recents, see video
Change-Id: I66888a75eec30d7e8ba7e09059399381516812ac
parent bd42a9c1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -838,6 +838,7 @@ public class TaskView extends FrameLayout implements Reusable {
                    RecentsView recentsView = getRecentsView();
                    recentsView.switchToScreenshot(
                            () -> recentsView.finishRecentsAnimation(true /* toRecents */,
                                    false /* shouldPip */,
                                    this::showTaskMenu));
                } else {
                    showTaskMenu();