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

Commit 3ac748f9 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix invalid CID for NR CellInfo" into rvc-qpr-dev

parents 4bed9473 dfcd2618
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2401,7 +2401,10 @@ public class ServiceStateTracker extends Handler {
            default: break;
        }
        // If the CID is unreported
        if (cid == Integer.MAX_VALUE) cid = -1;
        if (cid == (id.getType() == CellInfo.TYPE_NR
                ? CellInfo.UNAVAILABLE_LONG : CellInfo.UNAVAILABLE)) {
            cid = -1;
        }

        return cid;
    }