From a5addf0e898f8086dae5b4c90e193365d585e34f Mon Sep 17 00:00:00 2001 From: Vinit Nayak Date: Mon, 21 Mar 2022 18:14:01 -0700 Subject: [PATCH] Keep live tile running when TaskMenuView is showing * Doesn't fix the bug, but a nicer UX to have Bug: 223317893 Test: Live tile was running after tapping app icon. Was able to enter split just fine Change-Id: I50c5d5623546d19d216beae09b76c310e8b3c815 --- .../src/com/android/quickstep/views/TaskView.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index 1d621dc740..c4bed26016 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java @@ -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); - } + showTaskMenu(iconView); }); iconView.setOnLongClickListener(v -> { requestDisallowInterceptTouchEvent(true);