diff options
| author | 2019-03-06 21:52:32 +0000 | |
|---|---|---|
| committer | 2019-03-06 21:52:32 +0000 | |
| commit | 8273d66ebc1767bc75531c53ced129eeccf4aa4c (patch) | |
| tree | 13e9a4157b821d23e8bef44b015fe311597dd6bb | |
| parent | 5ba92cf940d7074094ddded667cfa8c84231daa0 (diff) | |
| parent | 35e5e6abbaaef7ef90b1575fb2a9cfa64c94e9ce (diff) | |
Merge "[API Feedback] Rename getChannelNumber to getNrarfcn"
| -rwxr-xr-x | api/current.txt | 2 | ||||
| -rw-r--r-- | telephony/java/android/telephony/CellIdentityNr.java | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/api/current.txt b/api/current.txt index 917936bfb9fb..d0c6fd69fcc4 100755 --- a/api/current.txt +++ b/api/current.txt @@ -42336,10 +42336,10 @@ package android.telephony { } public final class CellIdentityNr extends android.telephony.CellIdentity { - method public int getChannelNumber(); method public String getMccString(); method public String getMncString(); method public long getNci(); + method public int getNrarfcn(); method public int getPci(); method public int getTac(); method public void writeToParcel(android.os.Parcel, int); diff --git a/telephony/java/android/telephony/CellIdentityNr.java b/telephony/java/android/telephony/CellIdentityNr.java index 19bc0ceaf00a..b94ca9b3f927 100644 --- a/telephony/java/android/telephony/CellIdentityNr.java +++ b/telephony/java/android/telephony/CellIdentityNr.java @@ -89,11 +89,14 @@ public final class CellIdentityNr extends CellIdentity { } /** - * Get the Absolute Radio Frequency Channel Number. + * Get the New Radio Absolute Radio Frequency Channel Number. + * + * Reference: 3GPP TS 38.101-1 section 5.4.2.1 NR-ARFCN and channel raster. + * Reference: 3GPP TS 38.101-2 section 5.4.2.1 NR-ARFCN and channel raster. + * * @return Integer value in range [0, 3279165] or {@link CellInfo#UNAVAILABLE} if unknown. */ - @Override - public int getChannelNumber() { + public int getNrarfcn() { return mNrArfcn; } |