Merge "Import translations. DO NOT MERGE" into oc-dev
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index a3b6195..52c2a79 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -511,6 +511,7 @@
case CMD_OPEN_CHANNEL:
request = (MainThreadRequest) msg.obj;
uiccCard = getUiccCardFromRequest(request);
+ Pair<String, Integer> openChannelArgs = (Pair<String, Integer>) request.argument;
if (uiccCard == null) {
loge("iccOpenLogicalChannel: No UICC");
request.result = new IccOpenLogicalChannelResponse(-1,
@@ -520,7 +521,8 @@
}
} else {
onCompleted = obtainMessage(EVENT_OPEN_CHANNEL_DONE, request);
- uiccCard.iccOpenLogicalChannel((String)request.argument, onCompleted);
+ uiccCard.iccOpenLogicalChannel(openChannelArgs.first,
+ openChannelArgs.second, onCompleted);
}
break;
@@ -2370,12 +2372,12 @@
}
@Override
- public IccOpenLogicalChannelResponse iccOpenLogicalChannel(int subId, String AID) {
+ public IccOpenLogicalChannelResponse iccOpenLogicalChannel(int subId, String AID, int p2) {
enforceModifyPermissionOrCarrierPrivilege(subId);
- if (DBG) log("iccOpenLogicalChannel: subId=" + subId + " aid=" + AID);
+ if (DBG) log("iccOpenLogicalChannel: subId=" + subId + " aid=" + AID + " p2=" + p2);
IccOpenLogicalChannelResponse response = (IccOpenLogicalChannelResponse)sendRequest(
- CMD_OPEN_CHANNEL, AID, subId);
+ CMD_OPEN_CHANNEL, new Pair<String, Integer>(AID, p2), subId);
if (DBG) log("iccOpenLogicalChannel: " + response);
return response;
}