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

Commit 21de0496 authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by Gerrit Code Review
Browse files

Merge "Avoid ratcheting the radio tech for OOS"

parents a1db4bd0 569c6ba3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2639,8 +2639,9 @@ public class ServiceStateTracker extends Handler {
        boolean hasLocationChanged = !mNewCellLoc.equals(mCellLoc);

        // ratchet the new tech up through it's rat family but don't drop back down
        // until cell change
        if (!hasLocationChanged) {
        // until cell change or device is OOS
        boolean isDataInService = mNewSS.getDataRegState() == ServiceState.STATE_IN_SERVICE;
        if (!hasLocationChanged && isDataInService) {
            mRatRatcheter.ratchetRat(mSS, mNewSS);
        }