コード例 #1
0
 public boolean supplyPuk(String puk, String pin) {
   enforceModifyPermission();
   final UnlockSim checkSimPuk = new UnlockSim(mPhone.getIccCard());
   checkSimPuk.start();
   return checkSimPuk.unlockSim(puk, pin);
 }
コード例 #2
0
 public boolean supplyPin(String pin) {
   enforceModifyPermission();
   final UnlockSim checkSimPin = new UnlockSim(mPhone.getIccCard());
   checkSimPin.start();
   return checkSimPin.unlockSim(null, pin);
 }