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

am: 1fa079b255

Change-Id: I19eb25472a59f2b82e711552aae7fa74085d93ba
This commit is contained in:
Mark Salyzyn 2016-12-20 18:52:24 +00:00 committed by android-build-merger
commit 827973369d

View file

@ -309,7 +309,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const {
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;