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

Commit 07806de6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Cache nrBand during idle" into main

parents da156f88 fefdf9fe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1404,6 +1404,8 @@ public class NetworkTypeController extends StateMachine {
            mRatchetedNrBandwidths = Math.max(mRatchetedNrBandwidths, nrBandwidths);
            mRatchetedNrBands.addAll(nrBands);
        } else {
            mRatchetedNrBandwidths = nrBandwidths;
            mRatchetedNrBands = nrBands;
            if (mDoesPccListIndicateIdle
                    && anchorNrCellId != mLastAnchorNrCellId
                    && isUsingPhysicalChannelConfigForRrcDetection()
@@ -1420,8 +1422,6 @@ public class NetworkTypeController extends StateMachine {
                log("Not ratcheting physical channel config fields since anchor NR cell changed: "
                        + mLastAnchorNrCellId + " -> " + anchorNrCellId);
            }
            mRatchetedNrBandwidths = nrBandwidths;
            mRatchetedNrBands = nrBands;
        }

        mLastAnchorNrCellId = anchorNrCellId;