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 <gnu...@cyberdimension.org> --- networking/modem/device-files/disable_modem.sh | 1 + networking/modem/device-files/enable_modem.sh | 1 + 2 files changed, 2 insertions(+) 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 diff --git a/networking/modem/device-files/enable_modem.sh b/networking/modem/device-files/enable_modem.sh index 25e75c6..4b78089 100755 --- a/networking/modem/device-files/enable_modem.sh +++ b/networking/modem/device-files/enable_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 enabled after we reboot now..." am start -a android.intent.action.REBOOT -- 2.24.1 _______________________________________________ Replicant mailing list Replicant@osuosl.org https://lists.osuosl.org/mailman/listinfo/replicant