Merge "Reset mTopRowIdSet in applyLoadPlan" into main
This commit is contained in:
commit
eececf272e
3 files changed
+9
-1
No files matched your search
@@ -274,7 +274,9 @@ public class OverviewActionsView<T extends OverlayUICallbacks> extends FrameLayo
|
||||
}
|
||||
|
||||
private void updateActionButtonsVisibility() {
|
||||
assert mDp != null;
|
||||
if (mDp == null) {
|
||||
return;
|
||||
}
|
||||
boolean showSingleTaskActions = !mIsGroupedTask;
|
||||
boolean showGroupActions = mIsGroupedTask && mDp.isTablet && mCanSaveAppPair;
|
||||
Log.d(TAG, "updateActionButtonsVisibility() called: showSingleTaskActions = ["
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user