Merge "MR1 - Adding more Telecom state dumping." into lmp-mr1-dev
This commit is contained in:
@@ -451,4 +451,19 @@ public class PhoneAccount implements Parcelable {
|
|||||||
in.readList(supportedUriSchemes, classLoader);
|
in.readList(supportedUriSchemes, classLoader);
|
||||||
mSupportedUriSchemes = Collections.unmodifiableList(supportedUriSchemes);
|
mSupportedUriSchemes = Collections.unmodifiableList(supportedUriSchemes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
StringBuilder sb = new StringBuilder().append("[PhoneAccount: ")
|
||||||
|
.append(mAccountHandle)
|
||||||
|
.append(" Capabilities: ")
|
||||||
|
.append(mCapabilities)
|
||||||
|
.append(" Schemes: ");
|
||||||
|
for (String scheme : mSupportedUriSchemes) {
|
||||||
|
sb.append(scheme)
|
||||||
|
.append(" ");
|
||||||
|
}
|
||||||
|
sb.append("]");
|
||||||
|
return sb.toString();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -71,9 +71,11 @@ public class PhoneAccountHandle implements Parcelable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
// Note: Log.pii called for mId as it can contain personally identifying phone account
|
||||||
|
// information such as SIP account IDs.
|
||||||
return new StringBuilder().append(mComponentName)
|
return new StringBuilder().append(mComponentName)
|
||||||
.append(", ")
|
.append(", ")
|
||||||
.append(mId)
|
.append(Log.pii(mId))
|
||||||
.toString();
|
.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user