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
2 changed files with 6 additions and 0 deletions

View File

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

View File

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