Loading api/current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -29006,8 +29006,6 @@ package android.telephony { } public class TelephonyManager { method public void enableSimplifiedNetworkSettings(boolean); method public void enableSimplifiedNetworkSettings(long, boolean); method public java.util.List<android.telephony.CellInfo> getAllCellInfo(); method public int getCallState(); method public android.telephony.CellLocation getCellLocation(); Loading @@ -29030,8 +29028,6 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public boolean getSimplifiedNetworkSettingsEnabled(); method public boolean getSimplifiedNetworkSettingsEnabled(long); method public java.lang.String getSubscriberId(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); telephony/java/android/telephony/TelephonyManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -3364,6 +3364,7 @@ public class TelephonyManager { * Or the calling app has carrier privileges. @see #hasCarrierPrivileges * * @param enable true means enabling the simplified UI. * @hide */ public void enableSimplifiedNetworkSettings(boolean enable) { enableSimplifiedNetworkSettings(getDefaultSubscription(), enable); Loading @@ -3379,6 +3380,7 @@ public class TelephonyManager { * * @param subId for which the simplified UI should be enabled or disabled. * @param enable true means enabling the simplified UI. * @hide */ public void enableSimplifiedNetworkSettings(long subId, boolean enable) { try { Loading @@ -3395,6 +3397,7 @@ public class TelephonyManager { * {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} * * @return true if the simplified UI is enabled. * @hide */ public boolean getSimplifiedNetworkSettingsEnabled() { return getSimplifiedNetworkSettingsEnabled(getDefaultSubscription()); Loading @@ -3408,6 +3411,7 @@ public class TelephonyManager { * * @param subId for which the simplified UI should be enabled or disabled. * @return true if the simplified UI is enabled. * @hide */ public boolean getSimplifiedNetworkSettingsEnabled(long subId) { try { Loading Loading
api/current.txt +0 −4 Original line number Diff line number Diff line Loading @@ -29006,8 +29006,6 @@ package android.telephony { } public class TelephonyManager { method public void enableSimplifiedNetworkSettings(boolean); method public void enableSimplifiedNetworkSettings(long, boolean); method public java.util.List<android.telephony.CellInfo> getAllCellInfo(); method public int getCallState(); method public android.telephony.CellLocation getCellLocation(); Loading @@ -29030,8 +29028,6 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public boolean getSimplifiedNetworkSettingsEnabled(); method public boolean getSimplifiedNetworkSettingsEnabled(long); method public java.lang.String getSubscriberId(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber();
telephony/java/android/telephony/TelephonyManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -3364,6 +3364,7 @@ public class TelephonyManager { * Or the calling app has carrier privileges. @see #hasCarrierPrivileges * * @param enable true means enabling the simplified UI. * @hide */ public void enableSimplifiedNetworkSettings(boolean enable) { enableSimplifiedNetworkSettings(getDefaultSubscription(), enable); Loading @@ -3379,6 +3380,7 @@ public class TelephonyManager { * * @param subId for which the simplified UI should be enabled or disabled. * @param enable true means enabling the simplified UI. * @hide */ public void enableSimplifiedNetworkSettings(long subId, boolean enable) { try { Loading @@ -3395,6 +3397,7 @@ public class TelephonyManager { * {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} * * @return true if the simplified UI is enabled. * @hide */ public boolean getSimplifiedNetworkSettingsEnabled() { return getSimplifiedNetworkSettingsEnabled(getDefaultSubscription()); Loading @@ -3408,6 +3411,7 @@ public class TelephonyManager { * * @param subId for which the simplified UI should be enabled or disabled. * @return true if the simplified UI is enabled. * @hide */ public boolean getSimplifiedNetworkSettingsEnabled(long subId) { try { Loading