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

Commit d51c6248 authored by Nathan Harold's avatar Nathan Harold Committed by android-build-merger
Browse files

Merge "Fix BSIC Check in CellIdentityGsm" am: 7d615aae am: d34107b2

am: af248179

Change-Id: Id5dd355ca403db506cf2c9fa93b1282b3c28db92
parents c220f6d7 af248179
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -77,13 +77,14 @@ public final class CellIdentityGsm extends CellIdentity {
    /** @hide */
    public CellIdentityGsm(android.hardware.radio.V1_0.CellIdentityGsm cid) {
        this(cid.lac, cid.cid, cid.arfcn,
                cid.bsic == 0xFF ? CellInfo.UNAVAILABLE : cid.bsic, cid.mcc, cid.mnc, "", "");
                cid.bsic == (byte) 0xFF ? CellInfo.UNAVAILABLE : cid.bsic,
                cid.mcc, cid.mnc, "", "");
    }

    /** @hide */
    public CellIdentityGsm(android.hardware.radio.V1_2.CellIdentityGsm cid) {
        this(cid.base.lac, cid.base.cid, cid.base.arfcn,
                cid.base.bsic == 0xFF ? CellInfo.UNAVAILABLE : cid.base.bsic, cid.base.mcc,
                cid.base.bsic == (byte) 0xFF ? CellInfo.UNAVAILABLE : cid.base.bsic, cid.base.mcc,
                cid.base.mnc, cid.operatorNames.alphaLong, cid.operatorNames.alphaShort);
    }