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

am: 987d1d04d7

Change-Id: I572a275b72ca5c8b7023512d64538e604a19343a
This commit is contained in:
Amit Mahajan
2019-11-04 10:31:31 -08:00
committed by android-build-merger
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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();