Revert "logd: trailing spaces in log statistics"

Caused +/- field data to land under the Pruned column

This reverts commit 0adcc3e3e8.

Test: manual
Bug: 30118730
Change-Id: Ic75ce3a90baded19f3efc0cc77474fe5d9a8accd
This commit is contained in:
Mark Salyzyn 2016-12-19 22:23:03 +00:00
parent 152b003bbf
commit d966e22680

View file

@ -304,7 +304,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;