summaryrefslogtreecommitdiffstats
path: root/networking/modem/device-files/disable_modem.sh
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-10 20:43:42 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-17 23:29:02 +0100
commitfae09968fe9ff5e942d917845878a51af6ce0726 (patch)
tree897baff285cf06661f8db7f359acc5cea0c0afd1 /networking/modem/device-files/disable_modem.sh
parent7b6e0aeaadc932bd9736e36c4cb03c6919046f94 (diff)
downloadvendor_replicant-scripts-fae09968fe9ff5e942d917845878a51af6ce0726.tar.gz
vendor_replicant-scripts-fae09968fe9ff5e942d917845878a51af6ce0726.tar.bz2
vendor_replicant-scripts-fae09968fe9ff5e942d917845878a51af6ce0726.zip
modem: workaround silence not finding the SIM card when it is "launched"
When silence is present in the app switcher, it still doesn't find the SIM card after a reboot. This seems to make it find the SIM card again. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'networking/modem/device-files/disable_modem.sh')
-rwxr-xr-xnetworking/modem/device-files/disable_modem.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/modem/device-files/disable_modem.sh b/networking/modem/device-files/disable_modem.sh
index 28e8e38..5650656 100755
--- a/networking/modem/device-files/disable_modem.sh
+++ b/networking/modem/device-files/disable_modem.sh
@@ -38,6 +38,7 @@ echo "Syncing filesystem..."
sync
sync
+am force-stop org.smssecure.smssecure
# https://android.stackexchange.com/a/139139
echo "Modem will be disabled after we reboot now..."
am start -a android.intent.action.REBOOT