From 1e427c1e0a12e48300899377d2bb8cc693f3cce8 Mon Sep 17 00:00:00 2001 From: Chiachang Wang Date: Thu, 25 Feb 2021 15:52:47 +0800 Subject: 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 --- telephony/java/android/telephony/NetworkRegistrationInfo.java | 1 + 1 file changed, 1 insertion(+) (limited to 'telephony/java') 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; -- cgit v1.2.3