Merge "Fix condition when should focus on running task" into main
This commit is contained in:
@@ -2952,8 +2952,8 @@ public abstract class RecentsView<
|
||||
setCurrentTask(runningTaskViewId);
|
||||
|
||||
boolean shouldFocusRunningTask = !(enableGridOnlyOverview()
|
||||
&& (enableLargeDesktopWindowingTile()
|
||||
|| getRunningTaskView() instanceof DesktopTaskView));
|
||||
|| (enableLargeDesktopWindowingTile()
|
||||
&& getRunningTaskView() instanceof DesktopTaskView));
|
||||
setFocusedTaskViewId(shouldFocusRunningTask ? runningTaskViewId : INVALID_TASK_ID);
|
||||
runOnPageScrollsInitialized(() -> setCurrentPage(getRunningTaskIndex()));
|
||||
setRunningTaskViewShowScreenshot(false);
|
||||
|
||||
Reference in New Issue
Block a user