vold: Reboot if vold failure

Vold stores some status in memory.
If vold crashed and restarted, those status are not
restored. Reboot device if vold on failure.

Bug: 202048432
Test: manually kill vold
Change-Id: Ic56acd9cc906b0166adf805023e34bbd6b3648a5
This commit is contained in:
Keith Mok 2021-10-04 20:49:17 +00:00
parent eb3182f040
commit c73dbac02d

View file

@ -6,3 +6,4 @@ service vold /system/bin/vold \
task_profiles ProcessCapacityHigh task_profiles ProcessCapacityHigh
shutdown critical shutdown critical
group root reserved_disk group root reserved_disk
reboot_on_failure reboot,vold-failed