init.rc: have hwservicemanager start the HAL class am: 57d66b8447 am: ad0cbcf21c

am: f0099ccb23

Change-Id: I5c24ecbf89d723c478a02bcab8cffc4e9e4385e9
This commit is contained in:
Iliyan Malchev 2016-09-27 00:16:50 +00:00 committed by android-build-merger
commit 121fe849e8
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

@ -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