diff options
| author | Wink Saville <wink@google.com> | 2010-08-27 11:15:18 -0700 |
|---|---|---|
| committer | Wink Saville <wink@google.com> | 2010-08-27 11:15:18 -0700 |
| commit | 1f6408a96c757b3001c553f8f34ef0bda00a224d (patch) | |
| tree | ed78af90d298c988bca35419a6cef1c6acbf2dc6 /core/java/android/net/ProxyProperties.java | |
| parent | 0e30200ed112388110c33fdf3fa6fa0e6d2b953a (diff) | |
Add NetworkProperties to DataConnection.
Since we have NetworkProperties we can remove the individual accessors
from Phone and its subclasses.
Change-Id: Id9969a880405900a63051b3ae4019d889afb1fe8
Diffstat (limited to 'core/java/android/net/ProxyProperties.java')
| -rw-r--r-- | core/java/android/net/ProxyProperties.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/java/android/net/ProxyProperties.java b/core/java/android/net/ProxyProperties.java index 6828dd4fac63..207fb5134a85 100644 --- a/core/java/android/net/ProxyProperties.java +++ b/core/java/android/net/ProxyProperties.java @@ -57,6 +57,14 @@ public class ProxyProperties implements Parcelable { mExclusionList = exclusionList; } + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(mProxy.getHostAddress()).append(":").append(mPort) + .append(" xl=").append(mExclusionList); + return sb.toString(); + } + /** * Implement the Parcelable interface * @hide |
