Change defaults for FREQUENCY_RANGE and NR_STATE
Change value from -1 to 0 to match proto Bug: 141323073 Test: atest TelephonyMetricsTest Change-Id: I4509f22cdae656de3ad011de3a1664e27d35986a
This commit is contained in:
@@ -24,8 +24,8 @@ import android.annotation.TestApi;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.telephony.AccessNetworkConstants.TransportType;
|
||||
|
||||
import android.telephony.Annotation.NetworkType;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.ArrayList;
|
||||
@@ -90,7 +90,7 @@ public final class NetworkRegistrationInfo implements Parcelable {
|
||||
* Dual Connectivity(EN-DC).
|
||||
* @hide
|
||||
*/
|
||||
public static final int NR_STATE_NONE = -1;
|
||||
public static final int NR_STATE_NONE = 0;
|
||||
|
||||
/**
|
||||
* The device is camped on an LTE cell that supports E-UTRA-NR Dual Connectivity(EN-DC) but
|
||||
|
||||
@@ -102,7 +102,7 @@ public class ServiceState implements Parcelable {
|
||||
* Indicates frequency range is unknown.
|
||||
* @hide
|
||||
*/
|
||||
public static final int FREQUENCY_RANGE_UNKNOWN = -1;
|
||||
public static final int FREQUENCY_RANGE_UNKNOWN = 0;
|
||||
|
||||
/**
|
||||
* Indicates the frequency range is below 1GHz.
|
||||
|
||||
Reference in New Issue
Block a user