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

Commit 3769b94a 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

Change-Id: Iff48f5f63e5f72fcc267e0fcf6352de2a41cbe84
parents 6e4cd15c 2d3bac4e
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() : "");
    }