healthd: change how charger is launched in recovery.

This is triggered by changes in healthd which spits out 2 binaries.
Recovery needs to use static binary which is now renamed to 'charger'.
So, change the .rc file to match the rename.

Update the seclable according to new healthd-charger split

Test: Tested recovery on angler using 'reboot recovery' to ensure
healthd is working as before

Change-Id: I9e6018156e677e7224dd2e5894941ed2a7cac1d0
Signed-off-by: Sandeep Patil <sspatil@google.com>
This commit is contained in:
Sandeep Patil
2016-11-01 08:49:51 -07:00
parent 1d733369c4
commit c4b381c44b
+2 -2
View File
@@ -82,9 +82,9 @@ service ueventd /sbin/ueventd
critical
seclabel u:r:ueventd:s0
service healthd /sbin/healthd -r
service charger /charger -r
critical
seclabel u:r:healthd:s0
seclabel u:r:charger:s0
service recovery /sbin/recovery
seclabel u:r:recovery:s0