Revert "logd: trailing spaces in log statistics"
Caused +/- field data to land under the Pruned column
This reverts commit 0adcc3e3e8bd6d7c57994f828ee22c104b4eb043.
Test: manual
Bug: 30118730
Change-Id: Ic75ce3a90baded19f3efc0cc77474fe5d9a8accd
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp
index ddbb64f..31de2a0 100644
--- a/logd/LogStatistics.cpp
+++ b/logd/LogStatistics.cpp
@@ -304,7 +304,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;