summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorTim Lin <timtmlin@google.com>2019-08-25 23:21:20 +0800
committerTim Lin <timtmlin@google.com>2019-08-26 09:43:08 +0000
commit566aac7f69247523998a3df764a66797b01c3b1a (patch)
treee4063582a237c4d8d3b8554c393aaf29d7f1a500 /init.hardware.rc
parentc135b0f0403e1e793a730bd84bf6aa5607cb59ba (diff)
downloadbonito-566aac7f69247523998a3df764a66797b01c3b1a.tar.gz
qcril: stop 2nd qcril when switching SIM config to single SIM
To support SIM switch without full phone reboot Bug:139766967 Test: 2nd qcril start/stop accordingly upon property change. Change-Id: I6907b7f1336dd2a0ee7ae5bff8bfed78ef5ff94b
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index 02f849df..74ebcc48 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -871,6 +871,10 @@ on property:vendor.all.modules.ready=1
on property:persist.radio.multisim.config=dsds
start vendor.qcrild2
+# Stop 2nd qcrild when the property set to empty string
+on property:persist.radio.multisim.config=
+ stop vendor.qcrild2
+
on property:sys.boot_completed=1 && property:ro.boot.mode=firstboot
start init-firstboot-sh