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

Commit 2d3bac4e authored by Hunter Knepshield's avatar Hunter Knepshield Committed by android-build-merger
Browse files

Merge "Print out IccIoResult's actual payload contents."

am: 172f3ad7

Change-Id: I743af64702e77f27d94fa0003d58f2ad169dced7
parents af9814fa 172f3ad7
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -187,9 +187,14 @@ IccIoResult {

    @Override
    public String toString() {
        return "IccIoResult sw1:0x" + Integer.toHexString(sw1) + " sw2:0x"
                + Integer.toHexString(sw2) + " Payload: "
                + ((Build.IS_DEBUGGABLE && Build.IS_ENG) ? payload : "*******")
        return "IccIoResult sw1:0x"
                + Integer.toHexString(sw1)
                + " sw2:0x"
                + Integer.toHexString(sw2)
                + " Payload: "
                + ((Build.IS_DEBUGGABLE && Build.IS_ENG)
                        ? IccUtils.bytesToHexString(payload)
                        : "*******")
                + ((!success()) ? " Error: " + getErrorString() : "");
    }