commit | 1fa079b2555a12a53a6d25956d4f371ace60edce | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Dec 20 18:15:59 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 20 18:16:00 2016 +0000 |
tree | 1d0f82e2268507169de8488f1a0866a5808e5cd1 | |
parent | 3080ce2fe4c4d82deb7b89b30e3c839528b23c3d [diff] | |
parent | d966e226809bd446bb33651b71d7934887787c1d [diff] |
Merge "Revert "logd: trailing spaces in log statistics""
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index 6e63015..273150e 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp
@@ -309,7 +309,7 @@ if ((spaces <= 0) && pruned.length()) { spaces = 1; } - if ((spaces > 0) && (pruned.length() != 0)) { + if (spaces > 0) { change += android::base::StringPrintf("%*s", (int)spaces, ""); } pruned = change + pruned;