walleye: Use light boot animation on first boot only

Today, the dark boot follows the Dark Theme mode in Settings. Now
the UI team decide to always use dark boot after the device is
provisioned. So users will see fewer disturbances when a scheduled
update is taken at night

Bug: 181339788
Test: flash a Pixel -> boot -> dark theme is set;
      boot again -> observe dark boot
Change-Id: Id4989e4e78471bcefc2730ba7d9adc36f5ac9c75
This commit is contained in:
Tianjie
2021-02-27 19:01:23 -08:00
committed by Asriadi Rahim
parent c39a38cf9a
commit 7d15b33b93

View File

@@ -55,19 +55,6 @@ service vendor.darkboot /vendor/bin/misc_writer --set-dark-theme --override-vend
disabled
oneshot
# Clear the dark theme magic in /misc partition.
service vendor.darkboot_clear --clear-dark-theme --override-vendor-space-offset 12360
disabled
oneshot
# Set the dark boot flag on dark mode (UiModeManager.MODE_NIGHT_YES == 2).
on property:persist.sys.theme=2
# Set dark boot flag when the device is provisioned.
on property:persist.sys.device_provisioned=1
start vendor.darkboot
# Clear the dark theme flag on light mode (UiModeManager.MODE_NIGHT_NO == 1) or auto mode
# (UiModeManager.MODE_NIGHT_AUTO == 0).
on property:persist.sys.theme=1
start vendor.darkboot_clear
on property:persist.sys.theme=0
start vendor.darkboot_clear