Restore barMode and wallpaperVisible to Taskbar NavbarButtonsViewController state

Fixes: 379816005
Test: manual
Flag: EXEMPT bugfix
Change-Id: I2a181c498cb674f077d1b0accfe85b62880a1cfc
This commit is contained in:
Tracy Zhou
2024-12-03 17:16:09 -08:00
parent 27c2f4ddc1
commit 3d31b97389
@@ -442,6 +442,8 @@ public class TaskbarActivityContext extends BaseTaskbarContext {
onNavButtonsDarkIntensityChanged(sharedState.navButtonsDarkIntensity);
onNavigationBarLumaSamplingEnabled(sharedState.mLumaSamplingDisplayId,
sharedState.mIsLumaSamplingEnabled);
setWallpaperVisible(sharedState.wallpaperVisible);
onTransitionModeUpdated(sharedState.barMode, true /* checkBarModes */);
if (ENABLE_TASKBAR_NAVBAR_UNIFICATION) {
// W/ the flag not set this entire class gets re-created, which resets the value of