From 4141cb2391cfd7211ffff7e53841c6c52869d525 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 6 May 2014 13:49:28 -0700 Subject: [PATCH] logd: default off by-UID spam filter Bug: 14469172 Change-Id: I37c8dbcea0490afb994cbe6f033591fea1c58bc8 --- logd/LogWhiteBlackList.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logd/LogWhiteBlackList.cpp b/logd/LogWhiteBlackList.cpp index c6c7b232a..e87b6047c 100644 --- a/logd/LogWhiteBlackList.cpp +++ b/logd/LogWhiteBlackList.cpp @@ -47,7 +47,7 @@ void Prune::format(char **strp) { } PruneList::PruneList() - : mWorstUidEnabled(true) { + : mWorstUidEnabled(false) { mNaughty.clear(); mNice.clear(); } @@ -65,7 +65,7 @@ PruneList::~PruneList() { } int PruneList::init(char *str) { - mWorstUidEnabled = true; + mWorstUidEnabled = false; PruneCollection::iterator it; for (it = mNice.begin(); it != mNice.end();) { delete (*it);