mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Merge "Init nav mode in TaskbarActivityContext between fold/unfold" into udc-qpr-dev am: b038bac666
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24493282 Change-Id: I3bfd26f70ba8b7b968c3a5fa610a59f458fd07b8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -306,6 +306,9 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
|
||||
|
||||
// Initialize controllers after all are constructed.
|
||||
mControllers.init(sharedState);
|
||||
// This may not be necessary and can be reverted once we move towards recreating all
|
||||
// controllers without re-creating the window
|
||||
mControllers.rotationButtonController.onNavigationModeChanged(mNavMode.resValue);
|
||||
updateSysuiStateFlags(sharedState.sysuiStateFlags, true /* fromInit */);
|
||||
disableNavBarElements(sharedState.disableNavBarDisplayId, sharedState.disableNavBarState1,
|
||||
sharedState.disableNavBarState2, false /* animate */);
|
||||
|
||||
Reference in New Issue
Block a user