Loading api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5256,6 +5256,7 @@ package android.telephony { method public deprecated boolean getDataEnabled(); method public deprecated boolean getDataEnabled(int); method public boolean getEmergencyCallbackMode(); method public java.lang.String getIsimDomain(); method public int getSimApplicationState(); method public int getSimCardState(); method public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms(); Loading telephony/java/android/telephony/TelephonyManager.java +8 −3 Original line number Diff line number Diff line Loading @@ -4139,11 +4139,16 @@ public class TelephonyManager { } /** * Returns the IMS home network domain name that was loaded from the ISIM. * @return the IMS domain name, or null if not present or not loaded * Returns the IMS home network domain name that was loaded from the ISIM {@see #APPTYPE_ISIM}. * @return the IMS domain name. Returns {@code null} if ISIM hasn't been loaded or IMS domain * hasn't been loaded or isn't present on the ISIM. * * <p>Requires Permission: * {@link android.Manifest.permission#READ_PRIVILEGED_PHONE_STATE READ_PRIVILEGED_PHONE_STATE} * @hide */ @UnsupportedAppUsage @SystemApi @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimDomain() { try { IPhoneSubInfo info = getSubscriberInfo(); Loading Loading
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5256,6 +5256,7 @@ package android.telephony { method public deprecated boolean getDataEnabled(); method public deprecated boolean getDataEnabled(int); method public boolean getEmergencyCallbackMode(); method public java.lang.String getIsimDomain(); method public int getSimApplicationState(); method public int getSimCardState(); method public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms(); Loading
telephony/java/android/telephony/TelephonyManager.java +8 −3 Original line number Diff line number Diff line Loading @@ -4139,11 +4139,16 @@ public class TelephonyManager { } /** * Returns the IMS home network domain name that was loaded from the ISIM. * @return the IMS domain name, or null if not present or not loaded * Returns the IMS home network domain name that was loaded from the ISIM {@see #APPTYPE_ISIM}. * @return the IMS domain name. Returns {@code null} if ISIM hasn't been loaded or IMS domain * hasn't been loaded or isn't present on the ISIM. * * <p>Requires Permission: * {@link android.Manifest.permission#READ_PRIVILEGED_PHONE_STATE READ_PRIVILEGED_PHONE_STATE} * @hide */ @UnsupportedAppUsage @SystemApi @RequiresPermission(android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE) public String getIsimDomain() { try { IPhoneSubInfo info = getSubscriberInfo(); Loading