From de9182c01fb4663203aad947bc110ddcc57f583c Mon Sep 17 00:00:00 2001 From: Malcolm Chen Date: Tue, 25 Feb 2020 16:53:28 -0800 Subject: [PATCH] Make createLocationInfoSanitizedCopy as @hide. As we are not shipping Telephony mainline and it's TBD whether TelephonyRegistry will be part of mainline or not, we change createLocationInfoSanitizedCopy from @SystemApi back to @hide. Bug: 148179832 Test: build Change-Id: I65dea196ab80aec96b6b35edcc0059cefc2f1b43 Merged-In: I65dea196ab80aec96b6b35edcc0059cefc2f1b43 --- 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 c81e46c59c8bc..e9995bdc5611b 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -9090,7 +9090,6 @@ package android.telephony { } public class ServiceState implements android.os.Parcelable { - method @NonNull public android.telephony.ServiceState createLocationInfoSanitizedCopy(boolean); method public void fillInNotifierBundle(@NonNull android.os.Bundle); method public int getDataNetworkType(); method public boolean getDataRoamingFromRegistration(); diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index ab9269701a8e6..5cf33dec25eaa 100644 --- a/telephony/java/android/telephony/ServiceState.java +++ b/telephony/java/android/telephony/ServiceState.java @@ -1992,7 +1992,6 @@ public class ServiceState implements Parcelable { * @return the copied ServiceState with location info sanitized. * @hide */ - @SystemApi @NonNull public ServiceState createLocationInfoSanitizedCopy(boolean removeCoarseLocation) { ServiceState state = new ServiceState(this);