am 3fd60b42: Fix issue #7503920: Log spew from vold
* commit '3fd60b428202a0f5f324fccc67c0c0402b9131ba':
Fix issue #7503920: Log spew from vold
diff --git a/CommandListener.cpp b/CommandListener.cpp
index ca871da..2986cac 100644
--- a/CommandListener.cpp
+++ b/CommandListener.cpp
@@ -39,6 +39,8 @@
#include "Devmapper.h"
#include "cryptfs.h"
+#define DUMP_ARGS 0
+
CommandListener::CommandListener() :
FrameworkListener("vold", true) {
registerCmd(new DumpCmd());
@@ -51,6 +53,7 @@
}
void CommandListener::dumpArgs(int argc, char **argv, int argObscure) {
+#if DUMP_ARGS
char buffer[4096];
char *p = buffer;
@@ -76,6 +79,7 @@
}
}
SLOGD("%s", buffer);
+#endif
}
CommandListener::DumpCmd::DumpCmd() :