Merge "Dump error_detail in dumpsys"

This commit is contained in:
TreeHugger Robot
2022-12-13 01:32:30 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -226,6 +226,11 @@ string FormatAttributes(const string& indent, const Attributes& attributes) {
result.append("license_type: ");
result.append(to_string(attributes.license_type()));
}
if (attributes.has_error_detail()) {
result.assign(indent);
result.append("error_detail: ");
result.append(to_string(attributes.error_detail()));
}
if (result.size()) {
return result;
} else {