summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorJi Yang <yangji@google.com>2015-07-29 22:46:16 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-07-29 22:46:16 +0000
commitf520f022db3e78eaefade13352e01c7f398a81fe (patch)
treea1e08ac01a019c23e49efdc1138f29a206de0076 /telephony/java/com
parentd796a728bc7c1ffa3af53ef040e46401dce667f5 (diff)
parent499f084d9e7bb3323ed447b16f548bad9b886aa7 (diff)
downloadframeworks_base-f520f022db3e78eaefade13352e01c7f398a81fe.zip
frameworks_base-f520f022db3e78eaefade13352e01c7f398a81fe.tar.gz
frameworks_base-f520f022db3e78eaefade13352e01c7f398a81fe.tar.bz2
am 499f084d: Merge "Add API to let carrier app send SMS without auto perisisting." into mnc-dev
* commit '499f084d9e7bb3323ed447b16f548bad9b886aa7': Add API to let carrier app send SMS without auto perisisting.
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ISms.aidl12
1 files changed, 10 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/ISms.aidl b/telephony/java/com/android/internal/telephony/ISms.aidl
index 21c94c2..70a8653 100644
--- a/telephony/java/com/android/internal/telephony/ISms.aidl
+++ b/telephony/java/com/android/internal/telephony/ISms.aidl
@@ -149,10 +149,14 @@ interface ISms {
* broadcast when the message is delivered to the recipient. The
* raw pdu of the status report is in the extended data ("pdu").
* @param subId the subId on which the SMS has to be sent.
+ * @param persistMessageForNonDefaultSmsApp whether the sent message should
+ * be automatically persisted in the SMS db. It only affects messages sent
+ * by a non-default SMS app. Currently only the carrier app can set this
+ * parameter to false to skip auto message persistence.
*/
void sendTextForSubscriber(in int subId, String callingPkg, in String destAddr,
in String scAddr, in String text, in PendingIntent sentIntent,
- in PendingIntent deliveryIntent);
+ in PendingIntent deliveryIntent, in boolean persistMessageForNonDefaultSmsApp);
/**
* Send an SMS. Internal use only.
@@ -219,11 +223,15 @@ interface ISms {
* to the recipient. The raw pdu of the status report is in the
* extended data ("pdu").
* @param subId the subId on which the SMS has to be sent.
+ * @param persistMessageForNonDefaultSmsApp whether the sent message should
+ * be automatically persisted in the SMS db. It only affects messages sent
+ * by a non-default SMS app. Currently only the carrier app can set this
+ * parameter to false to skip auto message persistence.
*/
void sendMultipartTextForSubscriber(in int subId, String callingPkg,
in String destinationAddress, in String scAddress,
in List<String> parts, in List<PendingIntent> sentIntents,
- in List<PendingIntent> deliveryIntents);
+ in List<PendingIntent> deliveryIntents, in boolean persistMessageForNonDefaultSmsApp);
/**
* Enable reception of cell broadcast (SMS-CB) messages with the given