[Overview Actions] Update the navigation mode immediately when switch.

This would fix the issue that overview actions UI visibility was not set correctly.

Test: local
Bug: 152047880
Change-Id: Ia335c5c8947b39e580403090f461f87e78645af1
This commit is contained in:
Becky Qiu
2020-04-22 15:53:38 -07:00
parent cee56f039e
commit 72c53af896
2 changed files with 12 additions and 5 deletions

View File

@@ -161,6 +161,8 @@ public abstract class BaseQuickstepLauncher extends Launcher
@Override
protected void setupViews() {
super.setupViews();
SysUINavigationMode.INSTANCE.get(this).updateMode();
mActionsView = findViewById(R.id.overview_actions_view);
((RecentsView) getOverviewPanel()).init(mActionsView);