diff options
author | Sooraj Sasindran <sasindran@google.com> | 2021-09-09 22:15:58 -0700 |
---|---|---|
committer | Sooraj Sasindran <sasindran@google.com> | 2021-09-18 01:33:36 +0000 |
commit | 147a3b2d265421703d14afad5dad5ae818edad3f (patch) | |
tree | 9b199cc84a3cde8e4232d9c771c4568e914f6da7 /telephony/java/android | |
parent | f6519efeff0a7d5e9ef99f0fbf91271610059224 (diff) |
Add NR to global mode
add NR to global mode
Bug: 199325502
Test: Verified on Pixel 4 and confirmed no regression
Change-Id: Iffcd61678ced05a4d281961f875190e5682bf89e
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index abab426b3252..74525be75858 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -8854,7 +8854,8 @@ public class TelephonyManager { } /** - * Set the preferred network type to global mode which includes LTE, CDMA, EvDo and GSM/WCDMA. + * Set the preferred network type to global mode which includes NR, LTE, CDMA, EvDo + * and GSM/WCDMA. * * <p>Requires that the calling app has carrier privileges (see {@link #hasCarrierPrivileges}). * @@ -8865,7 +8866,8 @@ public class TelephonyManager { } /** - * Set the preferred network type to global mode which includes LTE, CDMA, EvDo and GSM/WCDMA. + * Set the preferred network type to global mode which includes NR, LTE, CDMA, EvDo + * and GSM/WCDMA. * * <p>Requires that the calling app has carrier privileges (see {@link #hasCarrierPrivileges}). * @@ -8873,7 +8875,7 @@ public class TelephonyManager { * @hide */ public boolean setPreferredNetworkTypeToGlobal(int subId) { - return setPreferredNetworkType(subId, RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA); + return setPreferredNetworkType(subId, RILConstants.NETWORK_MODE_NR_LTE_CDMA_EVDO_GSM_WCDMA); } /** |