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

Commit 721817ed authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by Aaron Tsai
Browse files

Check if cell identity type is valid

Check if cell identity type is valid

Bug: 192963022
Test: build
Change-Id: I8bc2babe6ac47d191a7e3f88fd77014fb8b74322
Merged-In: I23158d3c88a1f2ed0112a4b4ebb9ebc056f3cd4e
parent a4f3f179
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,