summaryrefslogtreecommitdiffstats
path: root/ipc.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-09-29 14:51:10 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-09-29 14:51:10 +0200
commitd69f5490530cf7fc78b1cbf52827471039d8a6cb (patch)
tree9dc75b0e570e347ec514b9efb8fd07100a1b9b0d /ipc.c
parent0bad2567392b7d98912f59353bf09937b89eff2f (diff)
downloadhardware_ril_samsung-ril-d69f5490530cf7fc78b1cbf52827471039d8a6cb.zip
hardware_ril_samsung-ril-d69f5490530cf7fc78b1cbf52827471039d8a6cb.tar.gz
hardware_ril_samsung-ril-d69f5490530cf7fc78b1cbf52827471039d8a6cb.tar.bz2
Send internal SMS to alert the user when an important crash just happened
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'ipc.c')
-rw-r--r--ipc.c2
1 files changed, 2 insertions, 0 deletions
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;