diff options
author | Evan Charlton <evanc@google.com> | 2014-05-16 13:31:26 -0700 |
---|---|---|
committer | Evan Charlton <evanc@google.com> | 2014-05-16 13:31:26 -0700 |
commit | b8894ab1aec9c9ffa749f9369e412a51b942de27 (patch) | |
tree | bd513d8846dc0c57670fd409cf8bbcc44987aefe /telephony/java/com | |
parent | 210889e91cb2da74e0323292ca156d17df03fe08 (diff) | |
download | frameworks_base-b8894ab1aec9c9ffa749f9369e412a51b942de27.zip frameworks_base-b8894ab1aec9c9ffa749f9369e412a51b942de27.tar.gz frameworks_base-b8894ab1aec9c9ffa749f9369e412a51b942de27.tar.bz2 |
Revert "Revert "Modify TelephonyManager to expose sendEnvelopeWithStatus instead of sendEnvelope.""
This reverts commit f743b163fc764b7ebf701a9e65b13d308530d750.
Change-Id: Ie274a024d2cdb6f11082e6bf391732a304863074
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 9cbf66e..8b80bfa 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -373,15 +373,16 @@ interface ITelephony { int p1, int p2, int p3, String data); /** - * Send ENVELOPE to the SIM, after processing a proactive command sent by - * the SIM. + * Send ENVELOPE to the SIM and returns the response. * * @param contents String containing SAT/USAT response in hexadecimal * format starting with command tag. See TS 102 223 for * details. - * @return The APDU response from the ICC card. + * @return The APDU response from the ICC card, with the last 4 bytes + * being the status word. If the command fails, returns an empty + * string. */ - String sendEnvelope(String content); + String sendEnvelopeWithStatus(String content); /** * Read one of the NV items defined in {@link RadioNVItems} / {@code ril_nv_items.h}. |