Merge "TaskbarManager now sets TaskbarUIController for RecentsWindowManager" into main
This commit is contained in:
commit
0f954d9d3b
8 files changed
+99
-33
No files matched your search
@@ -776,10 +776,13 @@ public class TouchInteractionService extends Service {
|
||||
mAllAppsActionManager.setHomeAndOverviewSame(isHomeAndOverviewSame);
|
||||
RecentsViewContainer newOverviewContainer =
|
||||
mOverviewComponentObserver.getContainerInterface().getCreatedContainer();
|
||||
if (newOverviewContainer != null
|
||||
&& newOverviewContainer instanceof StatefulActivity activity) {
|
||||
//TODO(b/368030750) refactor taskbarManager to accept RecentsViewContainer
|
||||
mTaskbarManager.setActivity(activity);
|
||||
if (newOverviewContainer != null) {
|
||||
if (newOverviewContainer instanceof StatefulActivity activity) {
|
||||
// This will also call setRecentsViewContainer() internally.
|
||||
mTaskbarManager.setActivity(activity);
|
||||
} else {
|
||||
mTaskbarManager.setRecentsViewContainer(newOverviewContainer);
|
||||
}
|
||||
}
|
||||
mTISBinder.onOverviewTargetChange();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user