diff options
| author | Cheuksan Wang <edwang@google.com> | 2014-09-12 17:07:48 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-12 17:07:49 +0000 |
| commit | a6c52ac6244d2666c48f51a999c78d588b0328f5 (patch) | |
| tree | 3fd4748e7ad6a869bdf16f8cd10e41cb2a4f4e00 /telephony | |
| parent | 820b70da0245bb2bc48d7b91f7207348514ee61d (diff) | |
| parent | ee04543d58bf570fd77202d6d2cd861476c3daf6 (diff) | |
| download | frameworks_base-a6c52ac6244d2666c48f51a999c78d588b0328f5.zip frameworks_base-a6c52ac6244d2666c48f51a999c78d588b0328f5.tar.gz frameworks_base-a6c52ac6244d2666c48f51a999c78d588b0328f5.tar.bz2 | |
Merge "Send and download MMS via content provider instead of PDU bytes." into lmp-dev
Diffstat (limited to 'telephony')
| -rw-r--r-- | telephony/java/com/android/internal/telephony/IMms.aidl | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/telephony/java/com/android/internal/telephony/IMms.aidl b/telephony/java/com/android/internal/telephony/IMms.aidl index 4337012..ebfefd1 100644 --- a/telephony/java/com/android/internal/telephony/IMms.aidl +++ b/telephony/java/com/android/internal/telephony/IMms.aidl @@ -62,24 +62,37 @@ interface IMms { /** * Update the status of a pending (send-by-IP) MMS message handled by the carrier app. - * If the carrier app fails to send this message, it would be resent via carrier network. + * If the carrier app fails to send this message, it may be resent via carrier network + * depending on the status code. + * + * The caller should have carrier privileges. + * @see android.telephony.TelephonyManager.hasCarrierPrivileges * * @param messageRef the reference number of the MMS message. - * @param success True if and only if the message was sent successfully. If its value is - * false, this message should be resent via carrier network + * @param pdu non-empty (contains the SendConf PDU) if the message was sent successfully, + * otherwise, this param should be null. + * @param status send status. It can be Activity.RESULT_OK or one of the MMS error codes. + * If status is Activity.RESULT_OK, the MMS was sent successfully. + * If status is MMS_ERROR_RETRY, this message would be resent via carrier + * network. The message will not be resent for other MMS error statuses. */ - void updateMmsSendStatus(int messageRef, boolean success); + void updateMmsSendStatus(int messageRef, in byte[] pdu, in int status); /** * Update the status of a pending (download-by-IP) MMS message handled by the carrier app. - * If the carrier app fails to download this message, it would be re-downloaded via carrier - * network. + * If the carrier app fails to download this message, it may be re-downloaded via carrier + * network depending on the status code. + * + * The caller should have carrier privileges. + * @see android.telephony.TelephonyManager.hasCarrierPrivileges * * @param messageRef the reference number of the MMS message. - * @param pdu non-empty if downloaded successfully, otherwise, it is empty and the message - * will be downloaded via carrier network + * @param status download status. It can be Activity.RESULT_OK or one of the MMS error codes. + * If status is Activity.RESULT_OK, the MMS was downloaded successfully. + * If status is MMS_ERROR_RETRY, this message would be re-downloaded via carrier + * network. The message will not be re-downloaded for other MMS error statuses. */ - void updateMmsDownloadStatus(int messageRef, in byte[] pdu); + void updateMmsDownloadStatus(int messageRef, in int status); /** * Get carrier-dependent configuration values. |
