diff options
author | Tim Lin <timtmlin@google.com> | 2019-08-25 23:21:20 +0800 |
---|---|---|
committer | Tim Lin <timtmlin@google.com> | 2019-08-26 09:43:08 +0000 |
commit | 566aac7f69247523998a3df764a66797b01c3b1a (patch) | |
tree | e4063582a237c4d8d3b8554c393aaf29d7f1a500 /init.hardware.rc | |
parent | c135b0f0403e1e793a730bd84bf6aa5607cb59ba (diff) | |
download | bonito-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.rc | 4 |
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 |