Add supplyPuk to do SIM puk unlock.

Change-Id: I48654091ac3133a0c405448871b0a2f1ed3ded4b
This commit is contained in:
John Wang
2011-06-02 17:49:49 -07:00
parent 69a4877638
commit 98c7781ca8

View File

@@ -144,6 +144,15 @@ interface ITelephony {
*/
boolean supplyPin(String pin);
/**
* Supply puk to unlock the SIM and set SIM pin to new pin.
* Blocks until a result is determined.
* @param puk The puk to check.
* pin The new pin to be set in SIM
* @return whether the operation was a success.
*/
boolean supplyPuk(String puk, String pin);
/**
* Handles PIN MMI commands (PIN/PIN2/PUK/PUK2), which are initiated
* without SEND (so <code>dial</code> is not appropriate).
@@ -254,7 +263,7 @@ interface ITelephony {
* Returns the network type
*/
int getNetworkType();
/**
* Return true if an ICC card is present
*/