Merge "Expose NR State string method for use in RadioInfo" into rvc-d1-dev am: 6162707258
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12124535 Change-Id: Icb5ba1e83479eda2a33cc5c03ffeda739f537e3c
This commit is contained in:
@@ -572,7 +572,8 @@ public final class NetworkRegistrationInfo implements Parcelable {
|
||||
return "Unknown reg state " + registrationState;
|
||||
}
|
||||
|
||||
private static String nrStateToString(@NRState int nrState) {
|
||||
/** @hide */
|
||||
public static String nrStateToString(@NRState int nrState) {
|
||||
switch (nrState) {
|
||||
case NR_STATE_RESTRICTED:
|
||||
return "RESTRICTED";
|
||||
|
||||
Reference in New Issue
Block a user