Migrate HIDE_NAVBAR_WINDOW to aconfig and rename is to enable_taskbar_navbar_unification

Bug: 309671494
Test: N/A
Change-Id: If35d807c17351146029498a876a055384eff3c2f
This commit is contained in:
Tracy Zhou
2023-11-07 13:49:24 -08:00
parent 38dc539f84
commit 6fe69f5a2a
7 changed files with 27 additions and 26 deletions

View File

@@ -214,7 +214,7 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
mActivity.addOnDeviceProfileChangeListener(mDeviceProfileChangeListener);
if (TaskbarManager.FLAG_HIDE_NAVBAR_WINDOW) {
if (TaskbarManager.ENABLE_TASKBAR_NAVBAR_UNIFICATION) {
// This gets modified in NavbarButtonsViewController, but the initial value it reads
// may be incorrect since it's state gets destroyed on taskbar recreate, so reset here
mTaskbarIconAlpha.get(ALPHA_INDEX_SMALL_SCREEN)