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

Commit 37b92514 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

am: 95225360

Change-Id: Ifbc242f50a0074acfe4a74a8c66d73a605fdba49
parents c080fad6 95225360
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);
        }