diff --git a/docs/INSTALL.md b/docs/INSTALL.md index faa4ad8..1d444c1 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -129,6 +129,8 @@ The script makes these changes: - Sets a 15 s screen timeout and low brightness. - Turns on Android's dark theme, colored from the R1's orange, so Android's own screens and the keyboard match robotOS. +- Switches the lock screen to a one-line clock, so it doesn't cover the robotOS mark robotOS puts + on the lock screen. - Disables the bloat in `tools/debloat.txt`. - Pushes your local speech settings and device preferences from the supplied config. - Reboots. diff --git a/tools/provision.sh b/tools/provision.sh index b0d0758..1fe22fb 100755 --- a/tools/provision.sh +++ b/tools/provision.sh @@ -99,6 +99,8 @@ adb shell settings put system screen_brightness 60 # go dark, colored from the R1's orange, so they match robotOS instead of flashing white. THEME='{"android.theme.customization.system_palette":"FF4F12","android.theme.customization.accent_color":"FF4F12","android.theme.customization.color_source":"preset","android.theme.customization.theme_style":"VIBRANT"}' adb shell cmd uimode night yes >/dev/null +# A one-line clock up top, so the lock screen's robotOS mark (set by the app) isn't covered. +adb shell settings put secure lockscreen_use_double_line_clock 0 adb shell "settings put secure theme_customization_overlay_packages '$THEME'" if [ "$DEBLOAT" = 1 ]; then