diff --git a/api/current.txt b/api/current.txt index e2d054800d4a5..a82b8db7c8168 100644 --- a/api/current.txt +++ b/api/current.txt @@ -47778,7 +47778,9 @@ package android.telephony { method public boolean getIsManualSelection(); method @NonNull public java.util.List getNetworkRegistrationInfoList(); method public String getOperatorAlphaLong(); + method @Nullable public String getOperatorAlphaLongRaw(); method public String getOperatorAlphaShort(); + method @Nullable public String getOperatorAlphaShortRaw(); method public String getOperatorNumeric(); method public boolean getRoaming(); method public int getState(); diff --git a/api/system-current.txt b/api/system-current.txt index 37376e59b2073..5d7d10d0e3424 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -11437,8 +11437,6 @@ package android.telephony { method @NonNull public java.util.List getNetworkRegistrationInfoListForDomain(int); method @NonNull public java.util.List getNetworkRegistrationInfoListForTransportType(int); method public int getNrFrequencyRange(); - method @Nullable public String getOperatorAlphaLongRaw(); - method @Nullable public String getOperatorAlphaShortRaw(); method @NonNull public static android.telephony.ServiceState newFromBundle(@NonNull android.os.Bundle); field public static final int ROAMING_TYPE_DOMESTIC = 2; // 0x2 field public static final int ROAMING_TYPE_INTERNATIONAL = 3; // 0x3 diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index e957f3e3d70f8..08614b95d7b0b 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -2022,11 +2022,11 @@ public class ServiceState implements Parcelable { /** * The current registered raw data network operator name in long alphanumeric format. * + * The long format can be up to 16 characters long. + * * @return long raw name of operator, null if unregistered or unknown - * @hide */ @Nullable - @SystemApi public String getOperatorAlphaLongRaw() { return mOperatorAlphaLongRaw; } @@ -2041,11 +2041,11 @@ public class ServiceState implements Parcelable { /** * The current registered raw data network operator name in short alphanumeric format. * + * The short format can be up to 8 characters long. + * * @return short raw name of operator, null if unregistered or unknown - * @hide */ @Nullable - @SystemApi public String getOperatorAlphaShortRaw() { return mOperatorAlphaShortRaw; }