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

Commit c876a59d authored by Daniel Bright's avatar Daniel Bright
Browse files

Log when PUK is empty

Adding log to help diagnose an issue.

Test: make
Bug: 159778212
Change-Id: I7e88c79e202f201dbb40b19ee717967675de0ba2
parent 73ed9900
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -817,14 +817,16 @@ public class RIL extends BaseCommands implements CommandsInterface {
            RILRequest rr = obtainRequest(RIL_REQUEST_ENTER_SIM_PUK, result,
                    mRILDefaultWorkSource);

            String pukStr = convertNullToEmptyString(puk);
            if (RILJ_LOGD) {
                riljLog(rr.serialString() + "> " + requestToString(rr.mRequest)
                        + " isPukEmpty = " + pukStr.isEmpty()
                        + " aid = " + aid);
            }

            try {
                radioProxy.supplyIccPukForApp(rr.mSerial,
                        convertNullToEmptyString(puk),
                        pukStr,
                        convertNullToEmptyString(newPin),
                        convertNullToEmptyString(aid));
            } catch (RemoteException | RuntimeException e) {