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

Commit 579aea9f authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Coerce 8-bit bsic to Integer if Invalid" into nyc-dev am:...

Merge "Merge "Coerce 8-bit bsic to Integer if Invalid" into nyc-dev am: 08acd3ce am: f7e4c04a" into nyc-mr1-dev-plus-aosp
parents 2604bf74 827bd873
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -216,7 +216,12 @@ public final class CellIdentityGsm implements Parcelable {
        mLac = in.readInt();
        mCid = in.readInt();
        mArfcn = in.readInt();
        mBsic = in.readInt();
        int bsic = in.readInt();
        // In RIL BSIC is a UINT8, so 0xFF is the 'INVALID' designator
        // for inbound parcels
        if (bsic == 0xFF) bsic = Integer.MAX_VALUE;
        mBsic = bsic;

        if (DBG) log("CellIdentityGsm(Parcel): " + toString());
    }