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

Commit b85e0afe authored by Vinit Nayak's avatar Vinit Nayak Committed by Android (Google) Code Review
Browse files

Merge "Keep live tile running when TaskMenuView is showing" into tm-dev

parents fd6b0d56 a5addf0e
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -890,15 +890,7 @@ public class TaskView extends FrameLayout implements Reusable {
                if (confirmSecondSplitSelectApp()) {
                    return;
                }
                if (ENABLE_QUICKSTEP_LIVE_TILE.get() && isRunningTask()) {
                    RecentsView recentsView = getRecentsView();
                    recentsView.switchToScreenshot(
                            () -> recentsView.finishRecentsAnimation(true /* toRecents */,
                                    false /* shouldPip */,
                                    () -> showTaskMenu(iconView)));
                } else {
                showTaskMenu(iconView);
                }
            });
            iconView.setOnLongClickListener(v -> {
                requestDisallowInterceptTouchEvent(true);