From 3e3eecbbeca2c44e8be7751f86dc644695ab1695 Mon Sep 17 00:00:00 2001 From: Jack Wu Date: Thu, 15 Jun 2023 16:34:24 +0800 Subject: [PATCH] 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 --- conf/init.zuma.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index e303dcca..f9550063 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -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