From 8aece5d03af22f6f9e1ada56badf09e53b8e7d16 Mon Sep 17 00:00:00 2001 From: Hall Liu Date: Thu, 12 Mar 2020 16:45:08 -0700 Subject: [PATCH] Re-hide ServiceState#getDataNetworkType Fixes: 151184420 Test: NA Change-Id: I08396033873567f668a2f6adbf10a9f2e0c36b68 --- api/system-current.txt | 1 - telephony/java/android/telephony/ServiceState.java | 1 - 2 files changed, 2 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index d0622d29645db..f3abcf41b28a0 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -11274,7 +11274,6 @@ package android.telephony { public class ServiceState implements android.os.Parcelable { method public void fillInNotifierBundle(@NonNull android.os.Bundle); - method public int getDataNetworkType(); method @Nullable public android.telephony.NetworkRegistrationInfo getNetworkRegistrationInfo(int, int); method @NonNull public java.util.List getNetworkRegistrationInfoListForDomain(int); method @NonNull public java.util.List getNetworkRegistrationInfoListForTransportType(int); diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index dd20d065fc83c..deba5519ce222 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -1650,7 +1650,6 @@ public class ServiceState implements Parcelable { * @return Current data network type * @hide */ - @SystemApi @TestApi public @NetworkType int getDataNetworkType() { final NetworkRegistrationInfo iwlanRegInfo = getNetworkRegistrationInfo(