diff options
| author | Jaewan Kim <jaewan@google.com> | 2014-04-07 17:10:22 +0900 |
|---|---|---|
| committer | Jaewan Kim <jaewan@google.com> | 2014-04-07 17:11:39 +0900 |
| commit | d07372e2e96ed6d2012db8518e05018c9710cafb (patch) | |
| tree | 752370ce619697862cd73d50886db9bea50ef389 /core/java | |
| parent | ce245e1c6546ef05a8645d2d54bfa3e2e4178046 (diff) | |
Hide IpConfiguration
Bug: 7606609, Bug: 8687763
Change-Id: I2970bf79ef14cb993878c1dc10c7022a716f46c5
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/net/IpConfiguration.java | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/core/java/android/net/IpConfiguration.java b/core/java/android/net/IpConfiguration.java index 7f835e4b7ab8..45070b9fa3eb 100644 --- a/core/java/android/net/IpConfiguration.java +++ b/core/java/android/net/IpConfiguration.java @@ -23,13 +23,11 @@ import android.util.Log; /** * A class representing a configured network. + * @hide */ public class IpConfiguration implements Parcelable { private static final String TAG = "IpConfiguration"; - /** - * @hide - */ public enum IpAssignment { /* Use statically configured IP settings. Configuration can be accessed * with linkProperties */ @@ -41,14 +39,8 @@ public class IpConfiguration implements Parcelable { UNASSIGNED } - /** - * @hide - */ public IpAssignment ipAssignment; - /** - * @hide - */ public enum ProxySettings { /* No proxy is to be used. Any existing proxy settings * should be cleared. */ @@ -64,14 +56,8 @@ public class IpConfiguration implements Parcelable { PAC } - /** - * @hide - */ public ProxySettings proxySettings; - /** - * @hide - */ public LinkProperties linkProperties; public IpConfiguration() { @@ -80,7 +66,7 @@ public class IpConfiguration implements Parcelable { linkProperties = new LinkProperties(); } - /** copy constructor {@hide} */ + /** copy constructor */ public IpConfiguration(IpConfiguration source) { if (source != null) { ipAssignment = source.ipAssignment; @@ -124,19 +110,19 @@ public class IpConfiguration implements Parcelable { return sbuf.toString(); } - /** Implement the Parcelable interface {@hide} */ + /** Implement the Parcelable interface */ public int describeContents() { return 0; } - /** Implement the Parcelable interface {@hide} */ + /** Implement the Parcelable interface */ public void writeToParcel(Parcel dest, int flags) { dest.writeString(ipAssignment.name()); dest.writeString(proxySettings.name()); dest.writeParcelable(linkProperties, flags); } - /** Implement the Parcelable interface {@hide} */ + /** Implement the Parcelable interface */ public static final Creator<IpConfiguration> CREATOR = new Creator<IpConfiguration>() { public IpConfiguration createFromParcel(Parcel in) { |
