Make APIs in the base CellInfo class public.

Test: build
Bug: 139417139
Merged-in: I591c500136ac1f28d9cb87cd1649fd891e1315f6
Change-Id: I591c500136ac1f28d9cb87cd1649fd891e1315f6
(cherry picked from commit 54e43e65e0)
This commit is contained in:
Amit Mahajan
2019-10-09 17:04:25 -07:00
parent af672b9910
commit b1a17ee1c4
2 changed files with 8 additions and 2 deletions

View File

@@ -44295,6 +44295,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();