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

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

Merge "Add a Constant for CellInfo#UNAVAILABLE_LONG"

am: 572b1ee8

Change-Id: I7c19563ccd4ceda3a32024db2fcc5e9526aa2d4c
parents ae023634 572b1ee8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -42382,6 +42382,7 @@ package android.telephony {
    field public static final int CONNECTION_UNKNOWN = 2147483647; // 0x7fffffff
    field public static final android.os.Parcelable.Creator<android.telephony.CellInfo> CREATOR;
    field public static final int UNAVAILABLE = 2147483647; // 0x7fffffff
    field public static final long UNAVAILABLE_LONG = 9223372036854775807L; // 0x7fffffffffffffffL
  }
  public final class CellInfoCdma extends android.telephony.CellInfo implements android.os.Parcelable {
+2 −1
Original line number Diff line number Diff line
@@ -81,7 +81,8 @@ public final class CellIdentityNr extends CellIdentity {
    /**
     * Get the NR Cell Identity.
     *
     * @return The NR Cell Identity in range [0, 68719476735] or Long.MAX_VALUE if unknown.
     * @return The 36-bit NR Cell Identity in range [0, 68719476735] or
     *         {@link CellInfo#UNAVAILABLE_LONG} if unknown.
     */
    public long getNci() {
        return mNci;
+5 −0
Original line number Diff line number Diff line
@@ -39,6 +39,11 @@ public abstract class CellInfo implements Parcelable {
     */
    public static final int UNAVAILABLE = Integer.MAX_VALUE;

    /**
     * This value indicates that the long field is unreported.
     */
    public static final long UNAVAILABLE_LONG = Long.MAX_VALUE;

    /**
     * Cell identity type
     * @hide