Animate icon dimming in taskbar when force showing in immersive mode.

Test: manual
Bug: 203748818
Change-Id: Iab3c65db502e7dbde3141429e9ae70eec1fabde1
This commit is contained in:
Pat Manning
2021-12-01 14:51:51 +00:00
parent 2718fd6767
commit 900ef936ad
8 changed files with 219 additions and 10 deletions

View File

@@ -188,7 +188,8 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
new TaskbarStashController(this),
new TaskbarEduController(this),
new TaskbarAutohideSuspendController(this),
new TaskbarPopupController(this));
new TaskbarPopupController(this),
new TaskbarForceVisibleImmersiveController(this));
}
public void init(TaskbarSharedState sharedState) {
@@ -417,6 +418,7 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ
mControllers.taskbarScrimViewController.updateStateForSysuiFlags(systemUiStateFlags,
fromInit);
mControllers.navButtonController.updateSysuiFlags(systemUiStateFlags);
mControllers.taskbarForceVisibleImmersiveController.updateSysuiFlags(systemUiStateFlags);
}
/**