diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-12-19 22:23:03 +0000 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-12-19 15:06:37 -0800 |
commit | d966e226809bd446bb33651b71d7934887787c1d (patch) | |
tree | c3031de6c35255d26b43aad91549a8baed08e8f6 /logd/LogStatistics.cpp | |
parent | 152b003bbfae22d10dd129d5f249daf957dc27c4 (diff) | |
download | system_core-d966e226809bd446bb33651b71d7934887787c1d.tar.gz system_core-d966e226809bd446bb33651b71d7934887787c1d.tar.bz2 system_core-d966e226809bd446bb33651b71d7934887787c1d.zip |
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
Diffstat (limited to 'logd/LogStatistics.cpp')
-rw-r--r-- | logd/LogStatistics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogStatistics.cpp b/logd/LogStatistics.cpp index ddbb64fb1..31de2a08f 100644 --- a/logd/LogStatistics.cpp +++ b/logd/LogStatistics.cpp @@ -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; |