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

Commit 2291616d authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 6092

* changes:
  Remove duplicate code in Sim/Ruim card, handle IccCardStatus.
parents 264cd11d cdadaad0
Loading
Loading
Loading
Loading
+8 −18
Original line number Diff line number Diff line
@@ -82,15 +82,6 @@ public interface CommandsInterface {
        }
    }

    enum IccStatus {
        ICC_ABSENT,
        ICC_NOT_READY,
        ICC_READY,
        ICC_PIN,
        ICC_PUK,
        ICC_NETWORK_PERSONALIZATION
    }

    //***** Constants

    // Used as parameter to dial() and setCLIR() below
@@ -533,15 +524,6 @@ public interface CommandsInterface {
     void registerForCdmaOtaProvision(Handler h,int what, Object obj);
     void unregisterForCdmaOtaProvision(Handler h);

    /**
     * Returns current ICC status.
     *
     * AsyncResult.result is IccStatus
     *
     */

    void getIccStatus(Message result);

    /**
     * Supply the ICC PIN to the ICC card
     *
@@ -1366,4 +1348,12 @@ public interface CommandsInterface {
     * @param response callback message
     */
    public void exitEmergencyCallbackMode(Message response);

    /**
     * Request the status of the ICC and UICC cards.
     *
     * @param response
     *          Callback message containing {@link IccCardStatus} structure for the card.
     */
    public void getIccCardStatus(Message result);
}
Loading