fix: iccCloseLogicalChannelByPort method signature #157

Merged
PeterCxy merged 1 commit from septs/OpenEUICC:fix-method-signature into master 2025-03-08 16:46:47 +01:00

View file

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