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

Commit 348a437b authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Log when PUK is empty"

parents 0f8d5fa0 c876a59d
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) {