init.rc: have hwservicemanager start the HAL class

am: 57d66b8447

Change-Id: I8ee19e5f08c514bad1315d24546725203b41c13c
This commit is contained in:
Iliyan Malchev 2016-09-27 00:08:22 +00:00 committed by android-build-merger
commit ad0cbcf21c
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