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

Commit d399796d authored by Sooraj Sasindran's avatar Sooraj Sasindran
Browse files

Check if cell identity type is valid

Check if cell identity type is valid 

Bug: 192963022
Change-Id: I23158d3c88a1f2ed0112a4b4ebb9ebc056f3cd4e
Test: build
parent 46d40ea8
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1132,8 +1132,8 @@ public class RadioIndication extends IRadioIndication.Stub {
            @NetworkRegistrationInfo.Domain int domain,
            int causeCode, int additionalCauseCode) {
        mRil.processIndication(indicationType);

        if (cellIdentity == null
        CellIdentity ci = CellIdentity.create(cellIdentity);
        if (ci == null
                || TextUtils.isEmpty(chosenPlmn)
                || (domain & NetworkRegistrationInfo.DOMAIN_CS_PS) == 0
                || (domain & ~NetworkRegistrationInfo.DOMAIN_CS_PS) != 0
@@ -1147,8 +1147,6 @@ public class RadioIndication extends IRadioIndication.Stub {
            return;
        }

        CellIdentity ci = CellIdentity.create(cellIdentity);

        mRil.mRegistrationFailedRegistrant.notifyRegistrant(
                new AsyncResult(
                        null,