|
|
@@ -69,11 +69,13 @@ fun TelephonyManager.iccOpenLogicalChannelByPort(
|
|
|
): IccOpenLogicalChannelResponse =
|
|
|
iccOpenLogicalChannelByPort.invoke(this, slotId, portId, appletId, p2) as IccOpenLogicalChannelResponse
|
|
|
|
|
|
-fun TelephonyManager.iccCloseLogicalChannelBySlot(slotId: Int, channel: Int): Boolean =
|
|
|
- iccCloseLogicalChannelBySlot.invoke(this, slotId, channel) as Boolean
|
|
|
+fun TelephonyManager.iccCloseLogicalChannelBySlot(slotId: Int, channel: Int) {
|
|
|
+ iccCloseLogicalChannelBySlot.invoke(this, slotId, channel)
|
|
|
+}
|
|
|
|
|
|
-fun TelephonyManager.iccCloseLogicalChannelByPort(slotId: Int, portId: Int, channel: Int): Boolean =
|
|
|
- iccCloseLogicalChannelByPort.invoke(this, slotId, portId, channel) as Boolean
|
|
|
+fun TelephonyManager.iccCloseLogicalChannelByPort(slotId: Int, portId: Int, channel: Int) {
|
|
|
+ iccCloseLogicalChannelByPort.invoke(this, slotId, portId, channel)
|
|
|
+}
|
|
|
|
|
|
fun TelephonyManager.iccTransmitApduLogicalChannelBySlot(
|
|
|
slotId: Int, channel: Int, cla: Int, instruction: Int,
|