am bde00a2b: Merge "Add toString in NetworkFactory." into lmp-mr1-dev

automerge: 911bcea

* commit '911bceab1ead02fde9ccb6fe2651fee13aca817e':
  Add toString in NetworkFactory.
This commit is contained in:
Robert Greenwalt
2014-12-11 18:07:53 +00:00
committed by android-build-merger

View File

@@ -274,4 +274,12 @@ public class NetworkFactory extends Handler {
protected void log(String s) {
Log.d(LOG_TAG, s);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("{").append(LOG_TAG).append(" - ScoreFilter=").
append(mScore).append(", Filter=").append(mCapabilityFilter).append(", requests=").
append(mNetworkRequests.size()).append("}");
return sb.toString();
}
}