mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-27 12:40:21 +00:00
taimen: 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:
@@ -58,19 +58,6 @@ service vendor.theme_set /vendor/bin/misc_writer --set-dark-theme
|
||||
disabled
|
||||
oneshot
|
||||
|
||||
# Clear the dark theme magic in /misc partition.
|
||||
service vendor.theme_clear /vendor/bin/misc_writer --clear-dark-theme
|
||||
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.theme_set
|
||||
|
||||
# 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.theme_clear
|
||||
|
||||
on property:persist.sys.theme=0
|
||||
start vendor.theme_clear
|
||||
|
||||
Reference in New Issue
Block a user