public boolean supplyPuk(String puk, String pin) { enforceModifyPermission(); final UnlockSim checkSimPuk = new UnlockSim(mPhone.getIccCard()); checkSimPuk.start(); return checkSimPuk.unlockSim(puk, pin); }
public boolean supplyPin(String pin) { enforceModifyPermission(); final UnlockSim checkSimPin = new UnlockSim(mPhone.getIccCard()); checkSimPin.start(); return checkSimPin.unlockSim(null, pin); }