summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2016-09-27 00:16:50 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-09-27 00:16:50 +0000
commit121fe849e866b34426d5d3a60c24c0b776283d8b (patch)
tree24ebaa5831086246a4b3f766119097d9da5b3d09 /rootdir
parentac129cbaa2e36c19d85d780a089ace800b60c742 (diff)
parentf0099ccb2308dfe42ebc4622a6a20184938338aa (diff)
downloadcore-121fe849e866b34426d5d3a60c24c0b776283d8b.tar.gz
core-121fe849e866b34426d5d3a60c24c0b776283d8b.tar.bz2
core-121fe849e866b34426d5d3a60c24c0b776283d8b.zip
init.rc: have hwservicemanager start the HAL class am: 57d66b8447 am: ad0cbcf21c
am: f0099ccb23 Change-Id: I5c24ecbf89d723c478a02bcab8cffc4e9e4385e9
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc12
1 files changed, 12 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 86860b168..64151b7f2 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -577,6 +577,8 @@ on boot
# Define default initial receive window size in segments.
setprop net.tcp.default_init_rwnd 60
+ # Start all binderized HAL daemons
+ start hwservicemanager
class_start core
on nonencrypted
@@ -666,3 +668,13 @@ on property:ro.debuggable=1
service flash_recovery /system/bin/install-recovery.sh
class main
oneshot
+
+service hwservicemanager /system/bin/hwservicemanager
+ user system
+ disabled
+ group system readproc
+ critical
+ writepid /dev/cpuset/system-background/tasks
+
+on property:hwservicemanager.ready=true
+ class_start hal