Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8e12dc3 authored by Satish Singh's avatar Satish Singh Committed by Ethan Chen
Browse files

Correct order of parameter in iccExchangeApdu()

The class must be in 1st place for RIL_REQUEST_SIM_TRANSMIT_BASIC
or RIL_REQUEST_SIM_TRANSMIT_CHANNEL requests to map hardware/RIL
component.

Change-Id: Idcf6faee0f6259704ea07b62ce713ebdd4c5da1b
parent 87e03ee7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4629,6 +4629,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
            rr = RILRequest.obtain(RIL_REQUEST_SIM_TRANSMIT_CHANNEL, result);
        }

        rr.mParcel.writeInt(cla);
        rr.mParcel.writeInt(command);
        rr.mParcel.writeInt(channel);
        rr.mParcel.writeString(null);
@@ -4637,7 +4638,7 @@ public class RIL extends BaseCommands implements CommandsInterface {
        rr.mParcel.writeInt(p3);
        rr.mParcel.writeString(data);
        rr.mParcel.writeString(null);
        rr.mParcel.writeInt(cla);
        rr.mParcel.writeString(null);

        if (RILJ_LOGD) riljLog(rr.serialString() + "> iccExchangeAPDU: "
                + requestToString(rr.mRequest)