From 6dd150461bb4003cfada92e2b7f43ecb7ae658fa Mon Sep 17 00:00:00 2001 From: Rambo Wang Date: Wed, 24 Feb 2021 10:28:57 -0800 Subject: SignalStrengthUpdateRequest#getLiveToken should not be in current.txt A missing asterisk in the javadoc causes the hidden API leak into current.txt Bug: 180395362 Test: make update-api && make; // and double check manually Change-Id: If86208136fb7402b132c62fa2caad4df3366e8d9 --- core/api/current.txt | 1 - telephony/java/android/telephony/SignalStrengthUpdateRequest.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/api/current.txt b/core/api/current.txt index fb9d420911f6..7f2f78eeeb8a 100644 --- a/core/api/current.txt +++ b/core/api/current.txt @@ -40910,7 +40910,6 @@ package android.telephony { public final class SignalStrengthUpdateRequest implements android.os.Parcelable { method public int describeContents(); - method @NonNull public android.os.IBinder getLiveToken(); method @NonNull public java.util.Collection getSignalThresholdInfos(); method public boolean isReportingRequestedWhileIdle(); method public void writeToParcel(@NonNull android.os.Parcel, int); diff --git a/telephony/java/android/telephony/SignalStrengthUpdateRequest.java b/telephony/java/android/telephony/SignalStrengthUpdateRequest.java index af67ed279fab..fe7e5976b132 100644 --- a/telephony/java/android/telephony/SignalStrengthUpdateRequest.java +++ b/telephony/java/android/telephony/SignalStrengthUpdateRequest.java @@ -187,7 +187,7 @@ public final class SignalStrengthUpdateRequest implements Parcelable { return mIsSystemThresholdReportingRequestedWhileIdle; } - /* + /** * @return the live token of the request * * @hide -- cgit v1.2.3-59-g8ed1b