diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-11-27 16:00:04 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-11-27 16:00:04 -0800 |
commit | 3fd60b428202a0f5f324fccc67c0c0402b9131ba (patch) | |
tree | 5b236dfc5c707dbe3becde4d8c9db8faa339f29a | |
parent | b7afc4e15b29d933477328d1944c3201337808c6 (diff) | |
download | system_vold-3fd60b428202a0f5f324fccc67c0c0402b9131ba.zip system_vold-3fd60b428202a0f5f324fccc67c0c0402b9131ba.tar.gz system_vold-3fd60b428202a0f5f324fccc67c0c0402b9131ba.tar.bz2 |
Fix issue #7503920: Log spew from vold
Change-Id: Ibfa5b979014f433085b94aab0d3d81bf9269d4b5
-rw-r--r-- | CommandListener.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CommandListener.cpp b/CommandListener.cpp index 461103e..3b5d2bf 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 @@ CommandListener::CommandListener() : } void CommandListener::dumpArgs(int argc, char **argv, int argObscure) { +#if DUMP_ARGS char buffer[4096]; char *p = buffer; @@ -76,6 +79,7 @@ void CommandListener::dumpArgs(int argc, char **argv, int argObscure) { } } SLOGD("%s", buffer); +#endif } CommandListener::DumpCmd::DumpCmd() : |