Add persist.sys.phh.restart_ril to automatically restart MTK RIL. Also toggling it on will restart QC RIL

This commit is contained in:
Pierre-Hugues Husson 2020-12-29 20:26:59 +01:00
parent e63e4d7cd9
commit 0a0d3a10b2
1 changed files with 12 additions and 0 deletions

12
vndk.rc
View File

@ -58,3 +58,15 @@ on property:persist.sys.phh.disable_a2dp_offload=1
on property:persist.sys.phh.disable_a2dp_offload=*
setprop persist.bluetooth.bluetooth_audio_hal.disabled ${persist.sys.phh.disable_a2dp_offload}
on property:init.svc.ril-proxy=stopped && property:persist.sys.phh.restart_ril=true
start ril-proxy
on property:init.svc.vendor.ril-daemon-mtk=stopped && property:persist.sys.phh.restart_ril=true
start vendor.ril-daemon-mtk
on property:persist.sys.phh.restart_ril=true
restart ril-proxy
restart vendor.qcrild
restart vendor.qcrild2
restart vendor.ril-daemon-mtk