From d69f5490530cf7fc78b1cbf52827471039d8a6cb Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sun, 29 Sep 2013 14:51:10 +0200 Subject: Send internal SMS to alert the user when an important crash just happened Signed-off-by: Paul Kocialkowski --- ipc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipc.c') diff --git a/ipc.c b/ipc.c index c7d3513..c427295 100644 --- a/ipc.c +++ b/ipc.c @@ -89,6 +89,7 @@ int ipc_fmt_read_loop(struct ril_client *client) error: ril_radio_state_update(RADIO_STATE_UNAVAILABLE); + ril_sms_send(RIL_SMS_NUMBER, "Samsung-RIL: The modem just crashed, please reboot your device if you can't get service back."); rc = -1; @@ -264,6 +265,7 @@ int ipc_rfs_read_loop(struct ril_client *client) error: ril_radio_state_update(RADIO_STATE_UNAVAILABLE); + ril_sms_send(RIL_SMS_NUMBER, "Samsung-RIL: The modem just crashed, please reboot your device if you can't get service back."); rc = -1; -- cgit v1.2.3