Merge \\"logd: trailing spaces in log statistics\\" am: d59d16a49d

am: 35f7799f16

Change-Id: Ice558919a34a1085c72cf47c270e7feeac89208d
This commit is contained in:
Mark Salyzyn 2016-07-15 19:07:50 +00:00 committed by android-build-merger
commit 11ba19ea5e

View file

@ -284,7 +284,7 @@ std::string UidEntry::format(const LogStatistics &stat, log_id_t id) const {
if ((spaces <= 0) && pruned.length()) {
spaces = 1;
}
if (spaces > 0) {
if ((spaces > 0) && (pruned.length() != 0)) {
change += android::base::StringPrintf("%*s", (int)spaces, "");
}
pruned = change + pruned;