Merge \\"logd: trailing spaces in log statistics\\" am: d59d16a49d
am: 35f7799f16
Change-Id: Ice558919a34a1085c72cf47c270e7feeac89208d
This commit is contained in:
commit
11ba19ea5e
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const {
|
|||
if ((spaces <= 0) && pruned.length()) {
|
||||
spaces = 1;
|
||||
}
|
||||
if (spaces > 0) {
|
||||
if ((spaces > 0) && (pruned.length() != 0)) {
|
||||
change += android::base::StringPrintf("%*s", (int)spaces, "");
|
||||
}
|
||||
pruned = change + pruned;
|
||||
|
|
Loading…
Reference in a new issue