tree: df7915197009fa50bfde235b5e8e454a7c6daecb [path history] [tgz]
  1. CarSystemUIControllsSystemBarInsetsRRO/
  2. SystemBarBottom/
  3. SystemBarBottomRounded/
  4. SystemBarLeft/
  5. SystemBarNavBarTranslucent/
  6. SystemBarPersistencyBarPolicy/
  7. SystemBarPersistencyImmersive/
  8. SystemBarPersistencyImmersiveWithNav/
  9. SystemBarPersistencyNonImmersive/
  10. SystemBarRight/
  11. SystemBarStatusBarTranslucent/
  12. README.md
  13. systemui_sample_rros.mk
samples/README.md

AAOS SystemUI Sample RRO's

Each sample demonstrates the effects of overriding some configs in AAOS SystemUI.

How to build and install RRO

# Enable RRO for the user 0
adb shell cmd overlay enable --user 0 com.android.systemui.rro.bottom
adb shell cmd overlay enable --user 0 com.android.systemui.rro.bottom.rounded
adb shell cmd overlay enable --user 0 com.android.systemui.rro.right
adb shell cmd overlay enable --user 0 com.android.systemui.rro.left
db shell cmd overlay enable --user 0 com.android.car.systemui.systembar.transparency.navbar.translucent
adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.transparency.statusbar.translucent

# To make system bar persistent, apply below RRO to both user 10 and user 0
adb shell cmd overlay enable --user 0 com.android.systemui.controls.systembar.insets.rro
adb shell cmd overlay enable --user 10 com.android.systemui.controls.systembar.insets.rro
# Verify with
adb shell dumpsys window | grep mRemoteInsetsControllerControlsSystemBars
# then adjust with
adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.immersive_with_nav
adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.non_immersive
adb shell cmd overlay enable --user 0 com.android.car.systemui.systembar.persistency.immersive
# Crash the systemUI if necessary
adb shell am crash com.android.systemui

# Build all sample RRO's
mmma {path to the samples directory}
# Install one of the sample RRO's
adb install {path to the RRO apk}
# Restart SystemUI
adb shell pkill -TERM -f com.android.systemui