From 1a01f963ff4c439e281b88aefb881935c697a0db Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 6 May 2014 13:49:28 -0700 Subject: Revert: "logd: default off by-UID spam filter" With "logd: inject first UID by log buffer message" we can remove the FUD introduced by having the UID spam filter on This reverts commit 4141cb2391cfd7211ffff7e53841c6c52869d525 Bug: 19608965 Bug: 14469172 Change-Id: Ifdc20b099e0e426546525b11c1dfe8cc0f830a02 --- logd/LogWhiteBlackList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'logd') diff --git a/logd/LogWhiteBlackList.cpp b/logd/LogWhiteBlackList.cpp index 9728db1..bee940d 100644 --- a/logd/LogWhiteBlackList.cpp +++ b/logd/LogWhiteBlackList.cpp @@ -52,7 +52,7 @@ void Prune::format(char **strp) { } PruneList::PruneList() - : mWorstUidEnabled(false) { + : mWorstUidEnabled(true) { mNaughty.clear(); mNice.clear(); } @@ -70,7 +70,7 @@ PruneList::~PruneList() { } int PruneList::init(char *str) { - mWorstUidEnabled = false; + mWorstUidEnabled = true; PruneCollection::iterator it; for (it = mNice.begin(); it != mNice.end();) { delete (*it); -- cgit v1.1