From 87487466af8b9177105e5fbd0ec7553caddf5751 Mon Sep 17 00:00:00 2001 From: Cheuksan Wang Date: Fri, 13 Jun 2014 19:12:20 -0700 Subject: [PATCH] Add an API call to update the status of a pending outbound SMS message and resend by PSTN if necessary. Change-Id: Id847b182874bef057473acf293cee43d9d55f7ab --- .../java/com/android/internal/telephony/ISms.aidl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/telephony/java/com/android/internal/telephony/ISms.aidl b/telephony/java/com/android/internal/telephony/ISms.aidl index 3e8db065ea1d6..cb48a94656e52 100644 --- a/telephony/java/com/android/internal/telephony/ISms.aidl +++ b/telephony/java/com/android/internal/telephony/ISms.aidl @@ -118,6 +118,17 @@ interface ISms { void sendText(String callingPkg, in String destAddr, in String scAddr, in String text, in PendingIntent sentIntent, in PendingIntent deliveryIntent); + /** + * Update the status of a pending (send-by-IP) SMS message and resend by PSTN if necessary. + * This outbound message was handled by the carrier app. If the carrier app fails to send + * this message, it would be resent by PSTN. + * + * @param messageRef the reference number of the SMS message. + * @param success True if and only if the message was sent successfully. If its value is + * false, this message should be resent via PSTN. + */ + void updateSmsSendStatus(int messageRef, boolean success); + /** * Send a multi-part text based SMS. *