Changes to use new startTasks API

When shell transitions is enabled, this will use the
newer multi-task-launch api and control the animation.

There is no actual animation yet, this just adds the
infrastructure.

Bug: 182002789
Test: enable developer option and enter split via recents
Change-Id: If5be104a86e7b5f743f85efed20b0d2bf1b8bfd1
This commit is contained in:
Vinit Nayak
2021-02-22 14:49:27 -08:00
committed by Evan Rosky
parent 7f463d33ff
commit b1bbc0f78d
5 changed files with 114 additions and 6 deletions

View File

@@ -219,7 +219,7 @@ public abstract class BaseQuickstepLauncher extends Launcher
mSplitPlaceholderView = findViewById(R.id.split_placeholder);
RecentsView overviewPanel = (RecentsView) getOverviewPanel();
mSplitPlaceholderView.init(
new SplitSelectStateController(SystemUiProxy.INSTANCE.get(this))
new SplitSelectStateController(mHandler, SystemUiProxy.INSTANCE.get(this))
);
overviewPanel.init(mActionsView, mSplitPlaceholderView);
mActionsView.updateVerticalMargin(SysUINavigationMode.getMode(this));