init.rc: have hwservicemanager start the HAL class

b/31458381
Test: passing build and runtime tests

Change-Id: I1d26af5ca1d0e9c7bbd97cfd88d0b432b50b7216
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev 2016-09-19 15:08:38 -07:00
parent f5110ea029
commit 57d66b8447
2 changed files with 13 additions and 0 deletions

View File

@ -59,3 +59,4 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/grep $(PRODUCT_OUT)/syst
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib/hw/gatekeeper.$(TARGET_DEVICE).so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib64/hw/gatekeeper.$(TARGET_DEVICE).so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/vendor)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/init.rc)

View File

@ -556,6 +556,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
@ -645,3 +647,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