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

Commit 95225360 authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by android-build-merger
Browse files

Merge "Avoid ratcheting the radio tech for OOS"

am: 21de0496

Change-Id: I8ec0cae972bb45dcac742ca523b9376bfc63c527
parents 6bc4701e 21de0496
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);
        }