summaryrefslogtreecommitdiffstats
path: root/logd/LogWhiteBlackList.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-06 13:49:28 -0700
committerMark Salyzyn <salyzyn@google.com>2015-04-10 15:45:10 -0700
commit1a01f963ff4c439e281b88aefb881935c697a0db (patch)
treeccd65f4ff8e893f3f76dacd64c9e1604a72ffc3c /logd/LogWhiteBlackList.cpp
parentab0dcf682867bd7e1fdebfd8d8f9fafaccfad7f6 (diff)
downloadsystem_core-1a01f963ff4c439e281b88aefb881935c697a0db.zip
system_core-1a01f963ff4c439e281b88aefb881935c697a0db.tar.gz
system_core-1a01f963ff4c439e281b88aefb881935c697a0db.tar.bz2
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
Diffstat (limited to 'logd/LogWhiteBlackList.cpp')
-rw-r--r--logd/LogWhiteBlackList.cpp4
1 files changed, 2 insertions, 2 deletions
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);