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

Commit b3105a3c authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by Automerger Merge Worker
Browse files

Check if cell identity type is valid am: 721817ed

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

Change-Id: Id70bda20f29832f37cf5f50668510ecd89413b0e
parents 7c178b4f 721817ed
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,