Merge "Reset mTopRowIdSet in applyLoadPlan" into main

This commit is contained in:
Alex Chau
2024-08-22 09:49:27 +00:00
committed by Android (Google) Code Review
3 changed files with 9 additions and 1 deletions
@@ -1838,6 +1838,9 @@ public abstract class RecentsView<
// the new set of views are added
int previousCurrentPage = mCurrentPage;
int previousFocusedPage = indexOfChild(getFocusedChild());
// TaskIds will no longer be valid after remove and re-add, clearing mTopRowIdSet.
mAnyTaskHasBeenDismissed = false;
mTopRowIdSet.clear();
removeAllViews();
// If we are entering Overview as a result of initiating a split from somewhere else