Merge "Fix ScoredNetwork: unparcel bundle in toString."
This commit is contained in:
committed by
Android (Google) Code Review
commit
7fdd4d831b
@@ -219,7 +219,8 @@ public class ScoredNetwork implements Parcelable {
|
||||
"networkKey=" + networkKey +
|
||||
", rssiCurve=" + rssiCurve +
|
||||
", meteredHint=" + meteredHint);
|
||||
if (attributes != null) {
|
||||
// calling isEmpty will unparcel the bundle so its contents can be converted to a string
|
||||
if (attributes != null && !attributes.isEmpty()) {
|
||||
out.append(", attributes=" + attributes);
|
||||
}
|
||||
out.append('}');
|
||||
|
||||
Reference in New Issue
Block a user