Merge "Prevent jumping to last grid task when not visible." into main
This commit is contained in:
@@ -3943,7 +3943,7 @@ public abstract class RecentsView<
|
||||
newClearAllShortTotalWidthTranslation = expectedFirstTaskStart - firstTaskStart;
|
||||
}
|
||||
}
|
||||
if (lastGridTaskView != null && (lastGridTaskView.isVisibleToUser() || (
|
||||
if (lastGridTaskView != null && (isTaskViewVisible(lastGridTaskView) || (
|
||||
isExpressiveDismiss && lastGridTaskView == dismissedTaskView))) {
|
||||
// After dismissal, animate translation of the remaining tasks to fill any gap left
|
||||
// between the end of the grid and the clear all button. Only animate if the clear
|
||||
|
||||
Reference in New Issue
Block a user