Add @UnsupportedAppUsage annotations
For packages: android.net.wimax android.net.wifi.p2p.nsd android.net.wifi.p2p android.net.wifi.hotspot2.pps android.net.wifi.hotspot2.omadm android.net.wifi.hotspot2 android.net.wifi.aware android.net.wifi android.net.util android.net.sip android.net.rtp android.net.nsd android.net.metrics android.net.lowpan android.net.http android.net.captiveportal android.net This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: Ie25423113ee1a8071cd5039382c00de6ce0af7fd Merged-In: I520be7a4c79e68310c12e4f55bf66acaa94145a1
This commit is contained in:
parent
e6d745c6f8
commit
0b8f861d07
1 changed files with 178 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
package android.net;
|
||||
|
||||
import android.annotation.UnsupportedAppUsage;
|
||||
import android.net.StaticIpConfiguration;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
|
|
@ -32,6 +33,7 @@ public class IpConfiguration implements Parcelable {
|
|||
public enum IpAssignment {
|
||||
/* Use statically configured IP settings. Configuration can be accessed
|
||||
* with staticIpConfiguration */
|
||||
@UnsupportedAppUsage
|
||||
STATIC,
|
||||
/* Use dynamically configured IP settigns */
|
||||
DHCP,
|
||||
|
|
@ -47,6 +49,7 @@ public class IpConfiguration implements Parcelable {
|
|||
public enum ProxySettings {
|
||||
/* No proxy is to be used. Any existing proxy settings
|
||||
* should be cleared. */
|
||||
@UnsupportedAppUsage
|
||||
NONE,
|
||||
/* Use statically configured proxy. Configuration can be accessed
|
||||
* with httpProxy. */
|
||||
|
|
@ -61,6 +64,7 @@ public class IpConfiguration implements Parcelable {
|
|||
|
||||
public ProxySettings proxySettings;
|
||||
|
||||
@UnsupportedAppUsage
|
||||
public ProxyInfo httpProxy;
|
||||
|
||||
private void init(IpAssignment ipAssignment,
|
||||
|
|
@ -79,6 +83,7 @@ public class IpConfiguration implements Parcelable {
|
|||
init(IpAssignment.UNASSIGNED, ProxySettings.UNASSIGNED, null, null);
|
||||
}
|
||||
|
||||
@UnsupportedAppUsage
|
||||
public IpConfiguration(IpAssignment ipAssignment,
|
||||
ProxySettings proxySettings,
|
||||
StaticIpConfiguration staticIpConfiguration,
|
||||
|
|
|
|||
Loading…
Reference in a new issue