From 55985bed7be8c93296eee3f4f39557fba4fbaebe Mon Sep 17 00:00:00 2001
From: Robert Greenwalt
Date: Thu, 23 Dec 2010 15:51:10 -0800
Subject: Make sure the ProxyProperties is always present.
Lets people know that it's non-null, though the InetAddr inside may be.
bug:3305689
Change-Id: I0fe16a9ef1feba987680c419fa2dc0e00e400d91
---
core/java/android/net/Proxy.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'core/java/android')
diff --git a/core/java/android/net/Proxy.java b/core/java/android/net/Proxy.java
index 0ad80dd..f750122 100644
--- a/core/java/android/net/Proxy.java
+++ b/core/java/android/net/Proxy.java
@@ -65,7 +65,9 @@ public final class Proxy {
* that either the default connection or its proxy has changed.
* The intent will have the following extra value:
*
- * - EXTRA_PROXY_INFO - The ProxyProperties for the proxy
+ *
- EXTRA_PROXY_INFO - The ProxyProperties for the proxy. Non-null,
+ * though if the proxy is undefined the host string
+ * will be empty.
*
*
* This is a protected intent that can only be sent by the system
--
cgit v1.1