diff options
author | Shishir Agrawal <shishir@google.com> | 2014-08-05 17:06:51 -0700 |
---|---|---|
committer | Shishir Agrawal <shishir@google.com> | 2014-08-05 17:06:51 -0700 |
commit | 43d94347a6feb14870a4ffd7682a816210e5e676 (patch) | |
tree | 07f29f4023566b0d3c8d0faaae6d46f06b65eac2 /telephony | |
parent | 46db93404b27fe5ec121ab55527712e2a6692c7a (diff) | |
download | frameworks_base-43d94347a6feb14870a4ffd7682a816210e5e676.zip frameworks_base-43d94347a6feb14870a4ffd7682a816210e5e676.tar.gz frameworks_base-43d94347a6feb14870a4ffd7682a816210e5e676.tar.bz2 |
Return APDU status code on tramsit channel command failure.
Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 4 | ||||
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 0772687..c50110a 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -2401,7 +2401,7 @@ public class TelephonyManager { * is sent to the SIM. * @param data Data to be sent with the APDU. * @return The APDU response from the ICC card with the status appended at - * the end. If an error occurs, an empty string is returned. + * the end. */ public String iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data) { @@ -2431,7 +2431,7 @@ public class TelephonyManager { * is sent to the SIM. * @param data Data to be sent with the APDU. * @return The APDU response from the ICC card with the status appended at - * the end. If an error occurs, an empty string is returned. + * the end. */ public String iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data) { diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 72b04cf..d256f9d 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -530,7 +530,7 @@ interface ITelephony { * is sent to the SIM. * @param data Data to be sent with the APDU. * @return The APDU response from the ICC card with the status appended at - * the end. If an error occurs, an empty string is returned. + * the end. */ String iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data); @@ -548,7 +548,7 @@ interface ITelephony { * is sent to the SIM. * @param data Data to be sent with the APDU. * @return The APDU response from the ICC card with the status appended at - * the end. If an error occurs, an empty string is returned. + * the end. */ String iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data); |