sanders: Use low level shutdown trigger to stop cnss-daemon
Low level shutdown is triggered after SystemServer is cleaned up. sys.shutdown.requested is private to SystemServer and is used to syncrhonize the shutdown process if SystemServer crashes before hardware reboot is complete. Native daemons must use low level shutdown indication from powermanager for their graceful shutdown, if they wish to stop before init terminates the process. Change-Id: Ia583f7dce6f1927d9b766fdc132f082b409f4d67 Signed-off-by: kubersharma001 <kubersharma001@gmail.com>
This commit is contained in:
committed by
Jorge Lucas
parent
ad99acb8f5
commit
d84e1b540a
@@ -789,7 +789,7 @@ service cnss-daemon /vendor/bin/cnss-daemon -n -l
|
||||
group system inet net_admin wifi
|
||||
capabilities NET_ADMIN
|
||||
|
||||
on property:sys.shutdown.requested=*
|
||||
on property:sys.powerctl=*
|
||||
stop cnss-daemon
|
||||
|
||||
service dhcpcd_bt-pan /system/bin/dhcpcd -BKLG
|
||||
|
||||
Reference in New Issue
Block a user