diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-06-15 23:17:47 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-06-15 23:17:47 +0000 |
commit | b8fc6c97a76a75b19d9d3293baf9234910c5c929 (patch) | |
tree | a6f442eba168310a88707d45fb20952ad3f9ec73 | |
parent | 8b1a0da9e4a47e7d2b0e6f8bac03ac498a829a57 (diff) | |
parent | 7073dbb54d83648ef2f9dfd811776dd5c06d4b4d (diff) |
Snap for 10331563 from 7073dbb54d83648ef2f9dfd811776dd5c06d4b4d to udc-release
Change-Id: I9c72b2abc4e0e9ccb99af5b632a91ab0c3dd5410
-rw-r--r-- | common/init.pixel.rc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/init.pixel.rc b/common/init.pixel.rc index 640212c..25b14fe 100644 --- a/common/init.pixel.rc +++ b/common/init.pixel.rc @@ -1,3 +1,12 @@ +# Write the dark theme magic to /misc partition. +service vendor.theme_set /vendor/bin/misc_writer --set-dark-theme + disabled + oneshot + +# Set dark boot flag when the device is provisioned. +on property:persist.sys.device_provisioned=1 + start vendor.theme_set + # Set or clear the warm reset flag upon the change of system property. The flag itself is set on init && property:ro.boot.slot_successful=no write /sys/module/msm_poweroff/parameters/warm_reset 1 |