summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2021-03-18 13:07:37 +0900
committerLorenzo Colitti <lorenzo@google.com>2021-04-27 20:01:22 +0900
commit9c0095c9e784aa6e3d8bac024f62aaeaf710b51c (patch)
tree799920aed6cb3dc530f93947ace1426d7238e948 /framework
parent8ce758768f322661215d942e5bc950c02af162d0 (diff)
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
Diffstat (limited to 'framework')
-rw-r--r--framework/src/android/net/ProxyInfo.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/src/android/net/ProxyInfo.java b/framework/src/android/net/ProxyInfo.java
index 745e20f154..0deda371f6 100644
--- a/framework/src/android/net/ProxyInfo.java
+++ b/framework/src/android/net/ProxyInfo.java
@@ -37,8 +37,9 @@ import java.util.Locale;
* Apache HTTP stack. So {@link URLConnection} and Apache's {@code HttpClient} will use
* them automatically.
*
- * 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}.
+ * Other HTTP stacks will need to obtain the proxy info by watching for the
+ * {@link Proxy#PROXY_CHANGE_ACTION} broadcast and calling methods such as
+ * {@link android.net.ConnectivityManager#getDefaultProxy}.
*/
public class ProxyInfo implements Parcelable {