healthd: normal and charger mode startup

Command line flag -n tells healthd not to use (or wait for) servicemanager
in charger mode.

Change-Id: I255f9597dff6fc904f5ed20fd02f52c0531d14f8
This commit is contained in:
Todd Poynor 2013-06-19 15:09:35 -07:00
parent 5ba57f9a95
commit 13f4c9fb27
1 changed files with 11 additions and 0 deletions

View File

@ -402,6 +402,16 @@ service ueventd /sbin/ueventd
critical
seclabel u:r:ueventd:s0
service healthd /sbin/healthd
class core
critical
seclabel u:r:healthd:s0
service healthd-charger /sbin/healthd -n
class charger
critical
seclabel u:r:healthd:s0
on property:selinux.reload_policy=1
restart ueventd
restart installd
@ -432,6 +442,7 @@ service servicemanager /system/bin/servicemanager
user system
group system
critical
onrestart restart healthd
onrestart restart zygote
onrestart restart media
onrestart restart surfaceflinger