Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 13f4c9fb authored by Todd Poynor's avatar Todd Poynor
Browse files

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
parent 5ba57f9a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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