Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00ead503 authored by SongFerngWang's avatar SongFerngWang Committed by SongFerng Wang
Browse files

Cherry-pick problem. ag/13500949 lost one line from ag/13517011

Bug: 183580303
Test: Build pass.
atest DcTrackerTest#testIsNrUnmeteredCarrierConfigs

Change-Id: I550bb19ea8da3882c105f1cced64907b441bc88d
Merged-In: I45b12502d5d628cd94fe13351640d39b96a1c25f
parent c09c5267
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4397,7 +4397,7 @@ public class DcTracker extends Handler {
        boolean isNrNsa = (networkType == TelephonyManager.NETWORK_TYPE_LTE
                || networkType == TelephonyManager.NETWORK_TYPE_LTE_CA)
                && (overrideNetworkType == TelephonyDisplayInfo.OVERRIDE_NETWORK_TYPE_NR_NSA
                || overrideNetworkType == TelephonyDisplayInfo.OVERRIDE_NETWORK_TYPE_NR_NSA_MMWAVE);
                || overrideNetworkType == TelephonyDisplayInfo.OVERRIDE_NETWORK_TYPE_NR_ADVANCED);
        boolean is5GHysteresisActive = mPhone.getDisplayInfoController().is5GHysteresisActive();

        // True if device is on NR SA or NR NSA, or neither but 5G hysteresis is active