diff --git a/packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java b/packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java index 37b5e8860fccb..064b9974e7b45 100644 --- a/packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java +++ b/packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java @@ -838,7 +838,11 @@ public class CarStatusBar extends StatusBar implements CarBatteryController.Batt } } - private void attachBottomNavBarWindow() { + /** + * Attaches the bottom nav bar window. Can be extended to modify the specific behavior of + * attaching the bottom nav bar. + */ + protected void attachBottomNavBarWindow() { if (!mShowBottom) { return; } @@ -861,7 +865,11 @@ public class CarStatusBar extends StatusBar implements CarBatteryController.Batt mWindowManager.addView(mNavigationBarWindow, lp); } - private void detachBottomNavBarWindow() { + /** + * Detaches the bottom nav bar window. Can be extended to modify the specific behavior of + * detaching the bottom nav bar. + */ + protected void detachBottomNavBarWindow() { if (!mShowBottom) { return; }