Merge "Set navigation mode when taskbar is initialised." into sc-v2-dev

This commit is contained in:
Ben Murdoch
2021-09-18 09:47:00 +00:00
committed by Android (Google) Code Review

View File

@@ -102,7 +102,8 @@ public class TaskbarDelegate implements CommandQueue.Callbacks,
mDisplayId = displayId;
mCommandQueue.addCallback(this);
mOverviewProxyService.addCallback(this);
mNavigationModeController.addListener(this);
mEdgeBackGestureHandler.onNavigationModeChanged(
mNavigationModeController.addListener(this));
mNavigationBarA11yHelper.registerA11yEventListener(mNavA11yEventListener);
// Set initial state for any listeners
updateSysuiFlags();