summaryrefslogtreecommitdiff
path: root/telephony/java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-02-25 15:52:47 +0800
committerChiachang Wang <chiachangwang@google.com>2021-02-25 15:57:34 +0800
commit1e427c1e0a12e48300899377d2bb8cc693f3cce8 (patch)
tree94106bf1b7e2d0054fcab33afe0ebde2d679d970 /telephony/java
parent0dd3627b725c4110c2c16c4337d7ebc4886e1701 (diff)
Revert "Expose NetworkRegistrationInfo.getNrState() as public API"
getNrState() was exposed. However, it doesn't actually get the NR state in most cases and it is a mixture of a couple different concepts. This API does not provide the correct 5G NR state, so revert it from API surface and also the related change. Bug: 171183530 Test: make update-api ; m Change-Id: I651ed14500be5af45dd896ae5da1da36ad249a26
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/android/telephony/NetworkRegistrationInfo.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/NetworkRegistrationInfo.java b/telephony/java/android/telephony/NetworkRegistrationInfo.java
index 706e3cb93a0f..a78f81331c8c 100644
--- a/telephony/java/android/telephony/NetworkRegistrationInfo.java
+++ b/telephony/java/android/telephony/NetworkRegistrationInfo.java
@@ -371,6 +371,7 @@ public final class NetworkRegistrationInfo implements Parcelable {
* Get the 5G NR connection state.
*
* @return the 5G NR connection state.
+ * @hide
*/
public @NRState int getNrState() {
return mNrState;