[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 committed 2020-04-22 15:57:34 -07:00
1 parent cee56f039e
commit 72c53af896
2 files changed
+12 -5

No files matched your search

@@ -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);