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

Commit b799fcdd authored by Cassie's avatar Cassie
Browse files

Quick fix the getMobileNetworkOperator() in CellIdentity.

Bug: 69915536
Test: Basic telephony sanity
Change-Id: Iac8222055aea95fbb5334876124ce9d1571ae2f6
parent 24cd7cbd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -202,7 +202,7 @@ public final class CellIdentityGsm implements Parcelable {
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     */
    public String getMobileNetworkOperator() {
        return (mMncStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ public final class CellIdentityLte implements Parcelable {
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     */
    public String getMobileNetworkOperator() {
        return (mMncStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ public final class CellIdentityWcdma implements Parcelable {
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     */
    public String getMobileNetworkOperator() {
        return (mMncStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }

    /**