Loading api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -45348,7 +45348,7 @@ package android.telephony { method @Nullable public android.telephony.CellIdentity getCellIdentity(); method public int getDomain(); method public int getNrState(); method @NonNull public String getRegisteredPlmn(); method @Nullable public String getRegisteredPlmn(); method public int getTransportType(); method public boolean isRegistered(); method public boolean isRoaming(); telephony/java/android/telephony/NetworkRegistrationInfo.java +5 −5 Original line number Diff line number Diff line Loading @@ -258,7 +258,7 @@ public final class NetworkRegistrationInfo implements Parcelable { mCellIdentity = cellIdentity; mEmergencyOnly = emergencyOnly; mNrState = NR_STATE_NONE; mRplmn = (rplmn == null) ? "" : rplmn; mRplmn = rplmn; } /** Loading Loading @@ -408,13 +408,13 @@ public final class NetworkRegistrationInfo implements Parcelable { * <p>If the device is registered, this will return the registered PLMN-ID. If registration * has failed, then this will return the PLMN ID of the last attempted registration. If the * device is not registered, or if is registered to a non-3GPP radio technology, then this * will return an empty string. * will return null. * * <p>See 3GPP TS 23.122 for further information about the Registered PLMN. * * @return the registered PLMN-ID or an empty string. * @return the registered PLMN-ID or null. */ @NonNull public String getRegisteredPlmn() { @Nullable public String getRegisteredPlmn() { return mRplmn; } Loading Loading @@ -892,7 +892,7 @@ public final class NetworkRegistrationInfo implements Parcelable { * @return The same instance of the builder. */ public @NonNull Builder setRegisteredPlmn(@Nullable String rplmn) { mRplmn = (rplmn == null) ? "" : rplmn; mRplmn = rplmn; return this; } Loading Loading
api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -45348,7 +45348,7 @@ package android.telephony { method @Nullable public android.telephony.CellIdentity getCellIdentity(); method public int getDomain(); method public int getNrState(); method @NonNull public String getRegisteredPlmn(); method @Nullable public String getRegisteredPlmn(); method public int getTransportType(); method public boolean isRegistered(); method public boolean isRoaming();
telephony/java/android/telephony/NetworkRegistrationInfo.java +5 −5 Original line number Diff line number Diff line Loading @@ -258,7 +258,7 @@ public final class NetworkRegistrationInfo implements Parcelable { mCellIdentity = cellIdentity; mEmergencyOnly = emergencyOnly; mNrState = NR_STATE_NONE; mRplmn = (rplmn == null) ? "" : rplmn; mRplmn = rplmn; } /** Loading Loading @@ -408,13 +408,13 @@ public final class NetworkRegistrationInfo implements Parcelable { * <p>If the device is registered, this will return the registered PLMN-ID. If registration * has failed, then this will return the PLMN ID of the last attempted registration. If the * device is not registered, or if is registered to a non-3GPP radio technology, then this * will return an empty string. * will return null. * * <p>See 3GPP TS 23.122 for further information about the Registered PLMN. * * @return the registered PLMN-ID or an empty string. * @return the registered PLMN-ID or null. */ @NonNull public String getRegisteredPlmn() { @Nullable public String getRegisteredPlmn() { return mRplmn; } Loading Loading @@ -892,7 +892,7 @@ public final class NetworkRegistrationInfo implements Parcelable { * @return The same instance of the builder. */ public @NonNull Builder setRegisteredPlmn(@Nullable String rplmn) { mRplmn = (rplmn == null) ? "" : rplmn; mRplmn = rplmn; return this; } Loading