Add @UnsupportedAppUsage annotations for greylist.

go/cleanup-greylist-txt

These have already been greylisted, however due to bugs/omissions in the tooling have been kept in go/greylist-txt instead of being annotated in the code.

Bug: 137350495
Test: m

Change-Id: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
Merged-In: Id6c1f5e403a0e66edb1102ee45f3bf19f244fb09
This commit is contained in:
Artur Satayev
2019-11-04 17:50:59 +00:00
parent 8124713528
commit 56cb6bb2a9
2 changed files with 6 additions and 0 deletions

View File

@@ -1763,6 +1763,10 @@ public class ConnectivityManager {
/** @hide */
public static class PacketKeepaliveCallback {
@UnsupportedAppUsage
public PacketKeepaliveCallback() {
}
/** The requested keepalive was successfully started. */
@UnsupportedAppUsage
public void onStarted() {}

View File

@@ -111,6 +111,8 @@ public final class LinkProperties implements Parcelable {
/**
* @hide
*/
@UnsupportedAppUsage(implicitMember =
"values()[Landroid/net/LinkProperties$ProvisioningChange;")
public enum ProvisioningChange {
@UnsupportedAppUsage
STILL_NOT_PROVISIONED,