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```