Set current date as activation date after device being provisioned

Bug: 298628003
Test: set the date of first usage successfully
Change-Id: I249ba518d77a9b5981c761130a60dd269d7b9f42
Signed-off-by: Jack Wu <wjack@google.com>
This commit is contained in:
Jack Wu 2023-09-01 20:21:14 +08:00
parent 19133a5b4d
commit d817230f30

View file

@ -764,6 +764,9 @@ on property:sys.boot_completed=1
#Enable SICD
write /sys/devices/system/cpu/cpupm/cpupm/sicd 1
on property:sys.boot_completed=1 && property:persist.sys.device_provisioned=1
write /sys/class/power_supply/battery/first_usage_date 0
# IMS WiFi Calling
service charonservice /system/vendor/bin/charon
class main