Add NetworkProperties to DataConnection.
Since we have NetworkProperties we can remove the individual accessors from Phone and its subclasses. Change-Id: Id9969a880405900a63051b3ae4019d889afb1fe8
This commit is contained in:
parent
220e01089f
commit
7d85790ad8
1 changed files with 12 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue