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

Commit 2cde710f authored by Sailesh Nepal's avatar Sailesh Nepal
Browse files

Update TelephonyManager.WifiCallingChoices API

This CL updates the order of the WifiCallingChoices values
to match the wifi_calling_choice_values resource.

Change-Id: Iaa643d7a70938877c760ff4a65f737a4c1c750da
parent bdd484f6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -24512,6 +24512,7 @@ package android.telephony {
    method public java.lang.String getSubscriberId();
    method public java.lang.String getVoiceMailAlphaTag();
    method public java.lang.String getVoiceMailNumber();
    method public int getWhenToMakeWifiCalls();
    method public boolean hasIccCard();
    method public boolean iccCloseLogicalChannel(int);
    method public int iccOpenLogicalChannel(java.lang.String);
+4 −3
Original line number Diff line number Diff line
@@ -70,10 +70,10 @@ public class TelephonyManager {
    public interface WifiCallingChoices {
        /** Always use Wi-Fi calling */
        static final int ALWAYS_USE = 0;
        /** Never use Wi-Fi calling */
        static final int NEVER_USE = 1;
        /** Ask the user whether to use Wi-Fi on every call */
        static final int ASK_EVERY_TIME = 2;
        static final int ASK_EVERY_TIME = 1;
        /** Never use Wi-Fi calling */
        static final int NEVER_USE = 2;
    }

    /** @hide */
@@ -1631,6 +1631,7 @@ public class TelephonyManager {
            Rlog.e(TAG, "setRadioMode NPE", ex);
        }
        return false;
    }

    /*
     * Obtain the current state of Wi-Fi calling.