Reset floating split task view after remote animation finished

Move reseting floating task view for entering split after remote
animation finished to prevent the floating task view disappear before
opening split task view being visible and causing flicker.

Bug: 199377815
Test: Manual check the flicker disappear
Change-Id: I4a864335972842570c61291a7a0c423edeb74578
This commit is contained in:
Jerry Chang
2021-09-13 12:08:07 +08:00
committed by Vinit Nayak
parent e37b51b30f
commit d3ceb3dc88
5 changed files with 83 additions and 40 deletions

View File

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