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

Commit 10ac1062 authored by Nathan Harold's avatar Nathan Harold
Browse files

Fix NPE in Ril when RIL_REQUEST_SIM_AUTHENTICATION returns NULL

bug: 22457261
Change-Id: I5aad5ffd41527652c560e934eb0e154f0e0bfdca
parent 6266fc0e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3446,8 +3446,8 @@ public final class RIL extends BaseCommands implements CommandsInterface {
                + " 0x" + Integer.toHexString(sw2) + " "
                + s);


        return new IccIoResult(sw1, sw2, android.util.Base64.decode(s, android.util.Base64.DEFAULT));
        return new IccIoResult(sw1, sw2, (s != null)
                ? android.util.Base64.decode(s, android.util.Base64.DEFAULT) : (byte[]) null);
    }

    private Object