• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

CarSystemUIControllsSystemBarInsetsRRO/15-Dec-2024-13055

SystemBarBottom/15-Dec-2024-14968

SystemBarBottomRounded/15-Dec-2024-20894

SystemBarLeft/15-Dec-2024-205111

SystemBarNavBarTranslucent/15-Dec-2024-9141

SystemBarPersistencyImmersive/15-Dec-2024-9742

SystemBarPersistencyImmersiveWithNav/15-Dec-2024-9743

SystemBarPersistencyNonImmersive/15-Dec-2024-9742

SystemBarRight/15-Dec-2024-198108

SystemBarStatusBarTranslucent/15-Dec-2024-9141

README.mdD15-Dec-20241.6 KiB3429

systemui_sample_rros.mkD15-Dec-2024999 2711

README.md

1# AAOS SystemUI Sample RRO's
2
3Each sample demonstrates the effects of overriding some configs in AAOS SystemUI.
4
5## How to build and install RRO
6
7```bash
8# Enable RRO for the user 0
9adb shell cmd overlay enable --user 0 com.android.systemui.rro.bottom
10adb shell cmd overlay enable --user 0 com.android.systemui.rro.bottom.rounded
11adb shell cmd overlay enable --user 0 com.android.systemui.rro.right
12adb shell cmd overlay enable --user 0 com.android.systemui.rro.left
13db shell cmd overlay enable --user 0 com.android.car.systemui.systembar.transparency.navbar.translucent
14adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.transparency.statusbar.translucent
15
16# To make system bar persistent, apply below RRO to both user 10 and user 0
17adb shell cmd overlay enable --user 0 com.android.systemui.controls.systembar.insets.rro
18adb shell cmd overlay enable --user 10 com.android.systemui.controls.systembar.insets.rro
19# Verify with
20adb shell dumpsys window | grep mRemoteInsetsControllerControlsSystemBars
21# then adjust with
22adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.immersive_with_nav
23adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.non_immersive
24adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.immersive
25# Crash the systemUI if necessary
26adb shell am crash com.android.systemui
27
28# Build all sample RRO's
29mmma {path to the samples directory}
30# Install one of the sample RRO's
31adb install {path to the RRO apk}
32# Restart SystemUI
33adb shell pkill -TERM -f com.android.systemui
34```