Merge \"logd: trailing spaces in log statistics\"
am: d59d16a49d
Change-Id: I3f9432af451b13e5641d8ab6a8c275516d636439
This commit is contained in:
commit
35f7799f16
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…
Add table
Reference in a new issue