Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb7c0350 authored by Paul Jensen's avatar Paul Jensen Committed by Android (Google) Code Review
Browse files

Merge "Undeprecate android.net.ProxyInfo as it's still used." into mnc-dev

parents 8c44e745 f361e3df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18397,7 +18397,7 @@ package android.net {
    field public static final java.lang.String PROXY_CHANGE_ACTION = "android.intent.action.PROXY_CHANGE";
  }
  public deprecated class ProxyInfo implements android.os.Parcelable {
  public class ProxyInfo implements android.os.Parcelable {
    method public static android.net.ProxyInfo buildDirectProxy(java.lang.String, int);
    method public static android.net.ProxyInfo buildDirectProxy(java.lang.String, int, java.util.List<java.lang.String>);
    method public static android.net.ProxyInfo buildPacProxy(android.net.Uri);
+1 −1
Original line number Diff line number Diff line
@@ -19905,7 +19905,7 @@ package android.net {
    field public static final java.lang.String PROXY_CHANGE_ACTION = "android.intent.action.PROXY_CHANGE";
  }
  public deprecated class ProxyInfo implements android.os.Parcelable {
  public class ProxyInfo implements android.os.Parcelable {
    method public static android.net.ProxyInfo buildDirectProxy(java.lang.String, int);
    method public static android.net.ProxyInfo buildDirectProxy(java.lang.String, int, java.util.List<java.lang.String>);
    method public static android.net.ProxyInfo buildPacProxy(android.net.Uri);
+0 −6
Original line number Diff line number Diff line
@@ -35,13 +35,7 @@ import java.util.Locale;
 *
 * Other HTTP stacks will need to obtain the proxy info from
 * {@link Proxy#PROXY_CHANGE_ACTION} broadcast as the extra {@link Proxy#EXTRA_PROXY_INFO}.
 *
 * @deprecated Please use {@link java.net.URL#openConnection}, {@link java.net.Proxy} and
 *     friends. The Apache HTTP client is no longer maintained and may be removed in a future
 *     release. Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a>
 *     for further details.
 */
@Deprecated
public class ProxyInfo implements Parcelable {

    private String mHost;