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

Commit 792bfa15 authored by Sandeep Gutta's avatar Sandeep Gutta Committed by Steve Kondik
Browse files

MSIM: Define new intent to send set Uicc result

Add new intent ACTION_SUBSCRIPTION_SET_UICC_RESULT
to broadcast set uicc result.

Change-Id: I0394854d5b9744127154bdb1cb8756aff9b7cb27
parent 8b4f4ab0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -156,6 +156,9 @@ public class PhoneConstants {

    public static final String SUB_SETTING  = "subSettings";

    public static final int SUCCESS = 0;
    public static final int FAILURE = 1;

    public static final int SUB1 = 0;
    public static final int SUB2 = 1;
    public static final int SUB3 = 2;
+17 −0
Original line number Diff line number Diff line
@@ -414,4 +414,21 @@ public class TelephonyIntents {
     */
    public static final String ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED
            = "android.intent.action.ACTION_DEFAULT_SMS_SUBSCRIPTION_CHANGED";


    /**
     * Broadcast Action: The subscription activation/deactivation request result.
     *  This has the following extra values:</p>
     * <ul>
     *   <li><em>operationResult</em> - A int, result of subscription
     *   activation/deactivation request.</li>
     *   <li><em>NewSubState</em> - A int, new sub state(activate/deactivate) clients
     *   trying to set for the current subscription.</li>
     * </ul>
     */
    public static final String ACTION_SUBSCRIPTION_SET_UICC_RESULT
            = "org.codeaurora.intent.action.ACTION_SUBSCRIPTION_SET_UICC_RESULT";

    public static final String EXTRA_RESULT  = "operationResult";
    public static final String EXTRA_NEW_SUB_STATE = "newSubState";
}