Monitor the property ota.warm_reset
The property is set to inform kernel to do a warm_reset on the next
reboot. This is useful to persist the logs to debug device boot
failures. More details in http://go/rvc-ota-persist-logs.
The property is read by vendor_init. And according to its value,
vendor_init writes a particular sysfs file to schedule a warm reset
on the following reboot.
Bug: 143489994
Test: check the property be read by vendor_init, check the value of the sysfs file
Change-Id: Iaa41cb98c2100d0e061b8ea50555d16d2971e258
1 file changed