Set current date as activation date after device being provisioned
allow setting it when the device is unlocked. Bug: 286767821 Test: set the date of first usage successfully Change-Id: I2c4d21662e88a9d8d2b857547d12825575a81331 Signed-off-by: Jack Wu <wjack@google.com>
This commit is contained in:
parent
88a5bd2684
commit
3e3eecbbec
1 changed files with 1 additions and 1 deletions
|
@ -863,7 +863,7 @@ 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 && property:ro.boot.flash.locked=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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue