diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-09-29 14:51:10 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-09-29 14:51:10 +0200 |
commit | d69f5490530cf7fc78b1cbf52827471039d8a6cb (patch) | |
tree | 9dc75b0e570e347ec514b9efb8fd07100a1b9b0d /ipc.c | |
parent | 0bad2567392b7d98912f59353bf09937b89eff2f (diff) | |
download | hardware_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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |