From 2e778fdc5ef9c81ea5e5ec5694156a26ad146823 Mon Sep 17 00:00:00 2001 From: Sarah Chin Date: Wed, 16 Sep 2020 17:13:13 -0700 Subject: [PATCH] Update NETWORK_TYPE_NR docs Clarify that NR is for NR NSA and LTE is for NR SA Test: build Fix: 165204098 Change-Id: I48259a0dce53b7a6a02c5e211b0ef7fc3d2aea30 --- telephony/java/android/telephony/TelephonyManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 969016b1c0170..2b3eba6f72ed6 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -2803,7 +2803,11 @@ public class TelephonyManager { /** Current network is LTE_CA {@hide} */ @UnsupportedAppUsage public static final int NETWORK_TYPE_LTE_CA = TelephonyProtoEnums.NETWORK_TYPE_LTE_CA; // = 19. - /** Current network is NR(New Radio) 5G. */ + /** + * Current network is NR (New Radio) 5G. + * This will only be returned for 5G SA. + * For 5G NSA, the network type will be {@link #NETWORK_TYPE_LTE}. + */ public static final int NETWORK_TYPE_NR = TelephonyProtoEnums.NETWORK_TYPE_NR; // 20. private static final @NetworkType int[] NETWORK_TYPES = {