From 0ca109c03522421627e2250225beb56276a218a7 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 --- 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 6b687101ffbe0..54fe4e6f81e96 100755 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -11453,7 +11453,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 int getDataRegistrationState(); diff --git a/telephony/java/android/telephony/ServiceState.java b/telephony/java/android/telephony/ServiceState.java index a5a1ebc101393..e957f3e3d70f8 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);