summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java12
1 files changed, 10 insertions, 2 deletions
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 e95103bcb929..ea3cbff07ea2 100644
--- a/packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java
+++ b/packages/CarSystemUI/src/com/android/systemui/statusbar/car/CarStatusBar.java
@@ -839,7 +839,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;
}
@@ -862,7 +866,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;
}