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

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

Merge "Debug Event for Malformed PLMN ID in CellIdentity"

am: 5ea5f198

Change-Id: I369199cc54afc5e49cc267bba17437437c1261df
parents 7b46efda 5ea5f198
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.os.Parcelable;
import android.text.TextUtils;

import java.util.Objects;
import java.util.UUID;

/**
 * CellIdentity represents the identity of a unique cell. This is the base class for
@@ -83,6 +84,13 @@ public abstract class CellIdentity implements Parcelable {
            mMncStr = null;
            log("invalid MNC format: " + mnc);
        }

        if ((mMccStr != null && mMncStr == null) || (mMccStr == null && mMncStr != null)) {
            DebugEventReporter.sendEvent(
                    UUID.fromString("a3ab0b9d-f2aa-4baf-911d-7096c0d4645a"),
                    "CellIdentity Missing Half of PLMN ID");
        }

        mAlphaLong = alphal;
        mAlphaShort = alphas;
    }