Merge "Fix split selection translation when focused task is selected for splitscreen" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-10-18 09:26:05 +00:00
commit fb172faa7f
1 file changed
+1 -1
@@ -3810,7 +3810,7 @@ public abstract class RecentsView<
}
} else if (!showAsGrid || (enableLargeDesktopWindowingTile()
&& dismissedTaskView.isLargeTile()
&& nextFocusedTaskView == null)) {
&& nextFocusedTaskView == null && !dismissingForSplitSelection)) {
int offset = getOffsetToDismissedTask(scrollDiffPerPage, dismissedIndex, taskCount);
int scrollDiff = newScroll[i] - oldScroll[i] + offset;
if (scrollDiff != 0) {