Expose NR State string method for use in RadioInfo
Test: build Bug: 160825855 Change-Id: Ie709cad1c94ad204c46a559d316f45da16c3541c
This commit is contained in:
@@ -572,7 +572,8 @@ public final class NetworkRegistrationInfo implements Parcelable {
|
|||||||
return "Unknown reg state " + registrationState;
|
return "Unknown reg state " + registrationState;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static String nrStateToString(@NRState int nrState) {
|
/** @hide */
|
||||||
|
public static String nrStateToString(@NRState int nrState) {
|
||||||
switch (nrState) {
|
switch (nrState) {
|
||||||
case NR_STATE_RESTRICTED:
|
case NR_STATE_RESTRICTED:
|
||||||
return "RESTRICTED";
|
return "RESTRICTED";
|
||||||
|
|||||||
Reference in New Issue
Block a user