Move recents dependency destruction to onDestroy from onDetachedWindow
With Overview running in a window, this clearing up needs to move later in the lifecycle. Bug: 388232647 Test: ran locally on device Flag: EXEMPT bugfix Change-Id: Id35c7fce390c2874b453c8b14c4eb0e7220ccd94
This commit is contained in:
@@ -564,6 +564,11 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
mSplitSelectStateController.onDestroy();
|
||||
}
|
||||
|
||||
RecentsView recentsView = getOverviewPanel();
|
||||
if (recentsView != null) {
|
||||
recentsView.destroy();
|
||||
}
|
||||
|
||||
super.onDestroy();
|
||||
mHotseatPredictionController.destroy();
|
||||
mSplitWithKeyboardShortcutController.onDestroy();
|
||||
|
||||
Reference in New Issue
Block a user