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:
parent
f5110ea029
commit
57d66b8447
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue