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

Commit 17c69f54 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Expose WFC roaming Mode ISIM IST EF as SystemApi"

am: 4ba30c1b

Change-Id: I3ed77f8aaf5fd7fc495f70954f9497ec35722acf
parents a5972ee7 4ba30c1b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5623,6 +5623,7 @@ package android.telephony {
    method public deprecated boolean getDataEnabled(int);
    method public boolean getEmergencyCallbackMode();
    method public java.lang.String getIsimDomain();
    method public java.lang.String getIsimIst();
    method public int getPreferredNetworkType(int);
    method public int getRadioPowerState();
    method public int getSimApplicationState();
@@ -6182,6 +6183,7 @@ package android.telephony.ims {
  public class ImsMmTelManager {
    method public static android.telephony.ims.ImsMmTelManager createForSubscriptionId(android.content.Context, int);
    method public int getVoWiFiModeSetting();
    method public int getVoWiFiRoamingModeSetting();
    method public boolean isAdvancedCallingSettingEnabled();
    method public boolean isAvailable(int, int);
    method public boolean isCapable(int, int);
+5 −0
Original line number Diff line number Diff line
@@ -5877,9 +5877,14 @@ public class TelephonyManager {

    /**
     * Returns the IMS Service Table (IST) that was loaded from the ISIM.
     *
     * See 3GPP TS 31.103 (Section 4.2.7) for the definition and more information on this table.
     *
     * @return IMS Service Table or null if not present or not loaded
     * @hide
     */
    @SystemApi
    @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
    public String getIsimIst() {
        try {
            IPhoneSubInfo info = getSubscriberInfo();
+1 −1
Original line number Diff line number Diff line
@@ -714,7 +714,7 @@ public class ImsMmTelManager {
     * @see #setVoWiFiRoamingSetting(boolean)
     */
    @RequiresPermission(Manifest.permission.READ_PRIVILEGED_PHONE_STATE)
    @WiFiCallingMode int getVoWiFiRoamingModeSetting() {
    public @WiFiCallingMode int getVoWiFiRoamingModeSetting() {
        try {
            return getITelephony().getVoWiFiRoamingModeSetting(mSubId);
        } catch (RemoteException e) {