Merge "Revert "logd: trailing spaces in log statistics""

This commit is contained in:
Treehugger Robot 2016-12-20 18:15:59 +00:00 committed by Gerrit Code Review
commit 1fa079b255

View file

@ -309,7 +309,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const {
if ((spaces <= 0) && pruned.length()) { if ((spaces <= 0) && pruned.length()) {
spaces = 1; spaces = 1;
} }
if ((spaces > 0) && (pruned.length() != 0)) { if (spaces > 0) {
change += android::base::StringPrintf("%*s", (int)spaces, ""); change += android::base::StringPrintf("%*s", (int)spaces, "");
} }
pruned = change + pruned; pruned = change + pruned;