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

Commit 04dcdde9 authored by Sarah Chin's avatar Sarah Chin Committed by Android (Google) Code Review
Browse files

Merge "NR advanced check bandwidth only if set" into tm-dev

parents ab6586ce add6975d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1208,7 +1208,8 @@ public class NetworkTypeController extends StateMachine {

        // Check if meeting minimum bandwidth requirement. For most carriers, there is no minimum
        // bandwidth requirement and mNrAdvancedThresholdBandwidth is 0.
        if (IntStream.of(mPhone.getServiceState().getCellBandwidths()).sum()
        if (mNrAdvancedThresholdBandwidth > 0
                && IntStream.of(mPhone.getServiceState().getCellBandwidths()).sum()
                < mNrAdvancedThresholdBandwidth) {
            return false;
        }