Merge "Revert "logd: trailing spaces in log statistics"" am: 1fa079b255 am: 827973369d
am: 2888798e8d
Change-Id: I0fcbe1dcf1d6e32311f7d6c8dc89674b7bbde927
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;