Set current date as activation date after device being provisioned
This is only applied when the device is locked. Bug: 275441997 Test: set the date of first usage successfully Change-Id: I1037d673422cd198007bb13f8311b993fd5132db Signed-off-by: Jack Wu <wjack@google.com>
This commit is contained in:
parent
a1a0096c5c
commit
59304c995a
1 changed files with 3 additions and 0 deletions
|
@ -823,6 +823,9 @@ on property:sys.boot_completed=1
|
||||||
# Disable GPU firmware logging
|
# Disable GPU firmware logging
|
||||||
write /sys/devices/platform/1f000000.mali/firmware_config/Log\ verbosity/cur 0
|
write /sys/devices/platform/1f000000.mali/firmware_config/Log\ verbosity/cur 0
|
||||||
|
|
||||||
|
on property:sys.boot_completed=1 && property:persist.sys.device_provisioned=1 && property:ro.boot.flash.locked=1
|
||||||
|
write /sys/class/power_supply/battery/first_usage_date 0
|
||||||
|
|
||||||
# IMS WiFi Calling
|
# IMS WiFi Calling
|
||||||
service charonservice /system/vendor/bin/charon
|
service charonservice /system/vendor/bin/charon
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue