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

Commit 987d1d04 authored by Amit Mahajan's avatar Amit Mahajan Committed by Gerrit Code Review
Browse files

Merge "Make APIs in the base CellInfo class public."

parents 8fa64738 b1a17ee1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -44296,6 +44296,8 @@ package android.telephony {
  public abstract class CellInfo implements android.os.Parcelable {
    method public int describeContents();
    method public int getCellConnectionStatus();
    method @NonNull public abstract android.telephony.CellIdentity getCellIdentity();
    method @NonNull public abstract android.telephony.CellSignalStrength getCellSignalStrength();
    method public long getTimeStamp();
    method public boolean isRegistered();
    field public static final int CONNECTION_NONE = 0; // 0x0
+6 −2
Original line number Diff line number Diff line
@@ -189,11 +189,15 @@ public abstract class CellInfo implements Parcelable {
        mTimeStamp = ts;
    }

    /** @hide */
    /**
     * @return a {@link CellIdentity} instance.
     */
    @NonNull
    public abstract CellIdentity getCellIdentity();

    /** @hide */
    /**
     * @return a {@link CellSignalStrength} instance.
     */
    @NonNull
    public abstract CellSignalStrength getCellSignalStrength();