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:
TreeHugger Robot
2020-07-10 23:35:06 +00:00
committed by Automerger Merge Worker

View File

@@ -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";