Remove EXTRA_PROXY_INFO.

This has been deprecated since M because it very error-prone, and
there are documented replacements.

Test: m
Bug: 171872228
Change-Id: Ide9846a26fc440b3ec5b4e4b444a046e738de3d6
This commit is contained in:
Lorenzo Colitti
2021-03-18 13:07:37 +09:00
parent 8ce758768f
commit 9c0095c9e7

View File

@@ -37,8 +37,9 @@ import java.util.Locale;
* Apache HTTP stack. So {@link URLConnection} and Apache's {@code HttpClient} will use * Apache HTTP stack. So {@link URLConnection} and Apache's {@code HttpClient} will use
* them automatically. * them automatically.
* *
* Other HTTP stacks will need to obtain the proxy info from * Other HTTP stacks will need to obtain the proxy info by watching for the
* {@link Proxy#PROXY_CHANGE_ACTION} broadcast as the extra {@link Proxy#EXTRA_PROXY_INFO}. * {@link Proxy#PROXY_CHANGE_ACTION} broadcast and calling methods such as
* {@link android.net.ConnectivityManager#getDefaultProxy}.
*/ */
public class ProxyInfo implements Parcelable { public class ProxyInfo implements Parcelable {