summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Merger (Role) <noreply-android-build-merger@google.com>2019-02-13 19:14:04 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-02-13 19:14:04 +0000
commitd56355755b17db8a3c4ca58552747456671e32cc (patch)
tree68717addc68566c07607011cbd39e491ba7dbd08
parent640c8e3ee9fea71bfbf315809ec210c1bdee4083 (diff)
parentab3df7a6fea268a00823718f59779b04db94fcfa (diff)
Merge "Merge "Add missing UARFCN Getter to CellIdentityTdscdma" am: 627900696f am: ba147d2c80 am: ceba42dca9"
-rw-r--r--api/current.txt1
-rw-r--r--telephony/java/android/telephony/CellIdentityTdscdma.java8
2 files changed, 9 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 4238ca608923..2206971e40dc 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -44395,6 +44395,7 @@ package android.telephony {
method public String getMccString();
method public String getMncString();
method @Nullable public String getMobileNetworkOperator();
+ method public int getUarfcn();
method public void writeToParcel(android.os.Parcel, int);
field public static final android.os.Parcelable.Creator<android.telephony.CellIdentityTdscdma> CREATOR;
}
diff --git a/telephony/java/android/telephony/CellIdentityTdscdma.java b/telephony/java/android/telephony/CellIdentityTdscdma.java
index 38143335dbf1..dba437a3a007 100644
--- a/telephony/java/android/telephony/CellIdentityTdscdma.java
+++ b/telephony/java/android/telephony/CellIdentityTdscdma.java
@@ -141,6 +141,14 @@ public final class CellIdentityTdscdma extends CellIdentity {
return mCpid;
}
+ /**
+ * @return 16-bit UMTS Absolute RF Channel Number,
+ * {@link android.telephony.CellInfo#UNAVAILABLE UNAVAILABLE} if unavailable.
+ */
+ public int getUarfcn() {
+ return mUarfcn;
+ }
+
/** @hide */
@Override
public int getChannelNumber() {