From 03079ec3e1811088c8dc8abc9ebd849d2ae70a29 Mon Sep 17 00:00:00 2001 From: Tom Taylor Date: Fri, 24 Jan 2020 10:21:50 -0800 Subject: Add optional messageId methods for sending/receiving mms's Bug: 148235962 Test: manually tested the new MMS apis using the Messages app Change-Id: I578a9875ba9b0d73c03a61c5878c396d76f8aa52 --- mms/java/com/android/internal/telephony/IMms.aidl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mms/java/com') diff --git a/mms/java/com/android/internal/telephony/IMms.aidl b/mms/java/com/android/internal/telephony/IMms.aidl index 8be511186800..e0e0a4a812e4 100644 --- a/mms/java/com/android/internal/telephony/IMms.aidl +++ b/mms/java/com/android/internal/telephony/IMms.aidl @@ -37,9 +37,11 @@ interface IMms { * sending the message. See {@link android.telephony.SmsManager} for the value names and types. * @param sentIntent if not NULL this PendingIntent is * broadcast when the message is successfully sent, or failed + * @param messageId An id that uniquely identifies the message requested to be sent. */ void sendMessage(int subId, String callingPkg, in Uri contentUri, - String locationUrl, in Bundle configOverrides, in PendingIntent sentIntent); + String locationUrl, in Bundle configOverrides, in PendingIntent sentIntent, + in long messageId); /** * Download an MMS message using known location and transaction id @@ -54,10 +56,11 @@ interface IMms { * types. * @param downloadedIntent if not NULL this PendingIntent is * broadcast when the message is downloaded, or the download is failed - */ + * @param messageId An id that uniquely identifies the message requested to be downloaded. + */ void downloadMessage(int subId, String callingPkg, String locationUrl, in Uri contentUri, in Bundle configOverrides, - in PendingIntent downloadedIntent); + in PendingIntent downloadedIntent, in long messageId); /** * Import a text message into system's SMS store -- cgit v1.2.3-59-g8ed1b