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

Commit d618ad8f authored by Sarah Chin's avatar Sarah Chin Committed by Gerrit Code Review
Browse files

Merge "Fix invalid CID for NR CellInfo"

parents 8e2faa2b 1a1d5f2c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2397,7 +2397,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;
    }