Merge "Add missing UARFCN Getter to CellIdentityTdscdma"

am: 627900696f

Change-Id: Ic492a82bcf757627f43b50372d65039130ce51a4
This commit is contained in:
Nathan Harold
2019-02-13 10:33:39 -08:00
committed by android-build-merger
2 changed files with 9 additions and 0 deletions

View File

@@ -42350,6 +42350,7 @@ package android.telephony {
method public String getMccString(); method public String getMccString();
method public String getMncString(); method public String getMncString();
method @Nullable public String getMobileNetworkOperator(); method @Nullable public String getMobileNetworkOperator();
method public int getUarfcn();
method public void writeToParcel(android.os.Parcel, int); method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.telephony.CellIdentityTdscdma> CREATOR; field public static final android.os.Parcelable.Creator<android.telephony.CellIdentityTdscdma> CREATOR;
} }

View File

@@ -141,6 +141,14 @@ public final class CellIdentityTdscdma extends CellIdentity {
return mCpid; return mCpid;
} }
/**
* @return 16-bit UMTS Absolute RF Channel Number,
* {@link android.telephony.CellInfo#UNAVAILABLE UNAVAILABLE} if unavailable.
*/
public int getUarfcn() {
return mUarfcn;
}
/** @hide */ /** @hide */
@Override @Override
public int getChannelNumber() { public int getChannelNumber() {