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

Commit 98c7781c authored by John Wang's avatar John Wang
Browse files

Add supplyPuk to do SIM puk unlock.

Change-Id: I48654091ac3133a0c405448871b0a2f1ed3ded4b
parent 69a48776
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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).