Correct the call of getExpectedCurrentTask

Bug: 401582344
Flag: EXEMPT bug fix
Test: m
Change-Id: I683be73a6632ba719396d44454a8650bbee7267d
This commit is contained in:
minch
2025-03-17 23:18:58 +00:00
committed by Min Chen
parent 3956f310c0
commit 683c68af39
@@ -3379,8 +3379,8 @@ public abstract class RecentsView<
int snappedPage = isKeyboardTaskFocusPending() ? mKeyboardTaskFocusIndex : getNextPage();
TaskView snappedTaskView = getTaskViewAt(snappedPage);
TaskView homeTaskView = getHomeTaskView();
TaskView expectedCurrentTaskView = mUtils.getExpectedCurrentTask(getFocusedTaskView(),
getRunningTaskView());
TaskView expectedCurrentTaskView = mUtils.getExpectedCurrentTask(getRunningTaskView(),
getFocusedTaskView());
TaskView nextFocusedTaskView = null;
// Don't clear the top row, if the user has dismissed a task, to maintain the task order.