summaryrefslogtreecommitdiffstats
path: root/logd
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-06 13:49:28 -0700
committerMark Salyzyn <salyzyn@google.com>2014-05-06 13:50:28 -0700
commit4141cb2391cfd7211ffff7e53841c6c52869d525 (patch)
tree5a11cdb908570f78a52514b71440d7f517f3c522 /logd
parent2d2fd4cdeac031e78a63c40d01a96a93ebb3eed8 (diff)
downloadsystem_core-4141cb2391cfd7211ffff7e53841c6c52869d525.zip
system_core-4141cb2391cfd7211ffff7e53841c6c52869d525.tar.gz
system_core-4141cb2391cfd7211ffff7e53841c6c52869d525.tar.bz2
logd: default off by-UID spam filter
Bug: 14469172 Change-Id: I37c8dbcea0490afb994cbe6f033591fea1c58bc8
Diffstat (limited to 'logd')
-rw-r--r--logd/LogWhiteBlackList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logd/LogWhiteBlackList.cpp b/logd/LogWhiteBlackList.cpp
index c6c7b23..e87b604 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);