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

Commit f390c68a 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 am: 2d3bac4e

am: 3769b94a

Change-Id: Ifca3a35c7e7bf48631d93c5dd4f41ce0c7ea0721
parents 7adf6b3e 3769b94a
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() : "");
    }