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

Commit 288b946f authored by Yoshiaki Naka's avatar Yoshiaki Naka
Browse files

P2 value should also be output to radio log

iccTransmitApduBasicChannel() and iccTransmitApduLogicalChannel() should
output the specified P2 value in the same way as P1 value and P3 value.

Bug: 122087423
Test: Manual test

Change-Id: I3e9065d7386643b043b553235388956fc5782588
parent db6a3000
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -3260,8 +3260,9 @@ public class RIL extends BaseCommands implements CommandsInterface {
            if (RILJ_LOGD) {
                if (Build.IS_DEBUGGABLE) {
                    riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
                            + " cla = " + cla + " instruction = " + instruction
                            + " p1 = " + p1 + " p2 = " + " p3 = " + p3 + " data = " + data);
                            + String.format(" cla = 0x%02X ins = 0x%02X", cla, instruction)
                            + String.format(" p1 = 0x%02X p2 = 0x%02X p3 = 0x%02X", p1, p2, p3)
                            + " data = " + data);
                } else {
                    riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
                }
@@ -3336,9 +3337,11 @@ public class RIL extends BaseCommands implements CommandsInterface {

            if (RILJ_LOGD) {
                if (Build.IS_DEBUGGABLE) {
                    riljLog(rr.serialString() + "> " + requestToString(rr.mRequest) + " channel = "
                            + channel + " cla = " + cla + " instruction = " + instruction
                            + " p1 = " + p1 + " p2 = " + " p3 = " + p3 + " data = " + data);
                    riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
                            + String.format(" channel = %d", channel)
                            + String.format(" cla = 0x%02X ins = 0x%02X", cla, instruction)
                            + String.format(" p1 = 0x%02X p2 = 0x%02X p3 = 0x%02X", p1, p2, p3)
                            + " data = " + data);
                } else {
                    riljLog(rr.serialString() + "> " + requestToString(rr.mRequest));
                }