Merge "Add @UnsupportedAppUsage annotations for greylist."

This commit is contained in:
Treehugger Robot 2019-11-11 14:27:47 +00:00 • committed by Gerrit Code Review
commit d57628bf9f
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,