Merge "Change defaults for FREQUENCY_RANGE and NR_STATE"

This commit is contained in:
Sarah Chin
2019-12-12 22:09:24 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -24,8 +24,8 @@ import android.annotation.TestApi;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;
import android.telephony.AccessNetworkConstants.TransportType; import android.telephony.AccessNetworkConstants.TransportType;
import android.telephony.Annotation.NetworkType; import android.telephony.Annotation.NetworkType;
import java.lang.annotation.Retention; import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy;
import java.util.ArrayList; import java.util.ArrayList;
@@ -90,7 +90,7 @@ public final class NetworkRegistrationInfo implements Parcelable {
* Dual Connectivity(EN-DC). * Dual Connectivity(EN-DC).
* @hide * @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 * The device is camped on an LTE cell that supports E-UTRA-NR Dual Connectivity(EN-DC) but

View File

@@ -102,7 +102,7 @@ public class ServiceState implements Parcelable {
* Indicates frequency range is unknown. * Indicates frequency range is unknown.
* @hide * @hide
*/ */
public static final int FREQUENCY_RANGE_UNKNOWN = -1; public static final int FREQUENCY_RANGE_UNKNOWN = 0;
/** /**
* Indicates the frequency range is below 1GHz. * Indicates the frequency range is below 1GHz.