Return APDU status code on tramsit channel command failure.

Change-Id: I2d506a6ddbb4e27a04f57941247924d36c9d279b
This commit is contained in:
Shishir Agrawal
2014-08-05 17:06:51 -07:00
parent 46db93404b
commit 43d94347a6
2 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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);