Merge "Move recents dependency destruction to onDestroy from onDetachedWindow" into main

This commit is contained in:
Will Osborn
2025-01-08 06:57:23 -08:00
committed by Android (Google) Code Review
5 changed files with 20 additions and 3 deletions
@@ -562,6 +562,11 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
mSplitSelectStateController.onDestroy();
}
RecentsView recentsView = getOverviewPanel();
if (recentsView != null) {
recentsView.destroy();
}
super.onDestroy();
mHotseatPredictionController.destroy();
if (mViewCapture != null) mViewCapture.close();