From 43d94347a6feb14870a4ffd7682a816210e5e676 Mon Sep 17 00:00:00 2001 From: Shishir Agrawal Date: Tue, 5 Aug 2014 17:06:51 -0700 Subject: [PATCH] Return APDU status code on tramsit channel command failure. Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b --- telephony/java/android/telephony/TelephonyManager.java | 4 ++-- 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 0772687c805ac..c50110a58b1b6 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 72b04cfc6ccd3..d256f9d863271 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);