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

Commit 51209c2d authored by Sarah Chin's avatar Sarah Chin Committed by Automerger Merge Worker
Browse files

Merge "Fix invalid CID for NR CellInfo" am: d618ad8f am: 326e50d2

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/1440294

Change-Id: Ia409e36ed30d078b7265667042472575f66ef0d5
parents a692370d 326e50d2
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;
    }