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

Commit 38d0bb50 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Annotate getMobileNetworkOperator() as Nullable" am: 795641f2...

Merge "Merge "Annotate getMobileNetworkOperator() as Nullable" am: 795641f2 am: bef29720 am: 8ef57c30"
parents 9ce2976c 275352a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@


package android.telephony;
package android.telephony;


import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.Parcel;
import android.telephony.gsm.GsmCellLocation;
import android.telephony.gsm.GsmCellLocation;
@@ -169,6 +170,7 @@ public final class CellIdentityGsm extends CellIdentity {
    /**
    /**
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown.
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown.
     */
     */
    @Nullable
    public String getMobileNetworkOperator() {
    public String getMobileNetworkOperator() {
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }
    }
+2 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@


package android.telephony;
package android.telephony;


import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.Parcel;
import android.telephony.gsm.GsmCellLocation;
import android.telephony.gsm.GsmCellLocation;
@@ -197,6 +198,7 @@ public final class CellIdentityLte extends CellIdentity {
    /**
    /**
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown.
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown.
     */
     */
    @Nullable
    public String getMobileNetworkOperator() {
    public String getMobileNetworkOperator() {
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }
    }
+2 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@


package android.telephony;
package android.telephony;


import android.annotation.Nullable;
import android.os.Parcel;
import android.os.Parcel;
import android.telephony.gsm.GsmCellLocation;
import android.telephony.gsm.GsmCellLocation;


@@ -116,6 +117,7 @@ public final class CellIdentityTdscdma extends CellIdentity {
    /**
    /**
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     */
     */
    @Nullable
    public String getMobileNetworkOperator() {
    public String getMobileNetworkOperator() {
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }
    }
+2 −0
Original line number Original line Diff line number Diff line
@@ -16,6 +16,7 @@


package android.telephony;
package android.telephony;


import android.annotation.Nullable;
import android.annotation.UnsupportedAppUsage;
import android.annotation.UnsupportedAppUsage;
import android.os.Parcel;
import android.os.Parcel;
import android.telephony.gsm.GsmCellLocation;
import android.telephony.gsm.GsmCellLocation;
@@ -173,6 +174,7 @@ public final class CellIdentityWcdma extends CellIdentity {
    /**
    /**
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     * @return a 5 or 6 character string (MCC+MNC), null if any field is unknown
     */
     */
    @Nullable
    public String getMobileNetworkOperator() {
    public String getMobileNetworkOperator() {
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
        return (mMccStr == null || mMncStr == null) ? null : mMccStr + mMncStr;
    }
    }