Run animation for liveTile before trying to launch it

* If current TaskView is running live tiles, animate directly
when toggling recents button instead of trying to
launch the task

Fixes: 240231324
Test: Launching a single GroupedTaskView from overview
launches as expected in 3 button.
Tested adjacent launches as well.

Change-Id: I6c060d918d3ae08bee9da1ad9507bb25cf445b96
This commit is contained in:
Vinit Nayak
2022-09-07 15:33:35 -07:00
parent cd8541495a
commit 42fd4441a3
2 changed files with 17 additions and 5 deletions

View File

@@ -144,7 +144,7 @@ public class OverviewCommandHelper {
RunnableList callbackList = null;
if (taskView != null) {
taskView.setEndQuickswitchCuj(true);
callbackList = taskView.launchTaskAnimated();
callbackList = taskView.launchTasks();
}
if (callbackList != null) {