Moving RecentsWindowManager away from taskstackchangelistener
Test: Built and ran locally, tested against various cases, verified with
logs
Flag: com.android.launcher3.enable_fallback_overview_in_window
com.android.launcher3.enable_launcher_overview_in_window
Bug: 292269949
Change-Id: If90b1f98ad18286fa0c9b9625077237823197967
This commit is contained in:
@@ -865,10 +865,11 @@ public class QuickstepLauncher extends Launcher implements RecentsViewContainer,
|
||||
if (overviewCommandHelper != null) {
|
||||
overviewCommandHelper.clearPendingCommands();
|
||||
}
|
||||
|
||||
PerDisplayRepository<RecentsWindowManager> recentsWindowManagerRepository =
|
||||
RecentsWindowManager.REPOSITORY_INSTANCE.get(this);
|
||||
recentsWindowManagerRepository.forEach(/* createIfAbsent= */ true, recentsWindowManager -> {
|
||||
recentsWindowManager.onNewIntent();
|
||||
recentsWindowManager.cleanupRecentsWindow();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user