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
This commit is contained in:
Malcolm Chen
2020-02-25 16:53:28 -08:00
committed by Xiangyu/Malcolm Chen
parent 6d2586f03f
commit 0ca109c035
2 changed files with 0 additions and 2 deletions

View File

@@ -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();

View File

@@ -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);