Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
system_vold
Commits
3fd60b42
Commit
3fd60b42
authored
12 years ago
by
Dianne Hackborn
Browse files
Options
Download
Email Patches
Plain Diff
Fix issue #7503920: Log spew from vold
Change-Id: Ibfa5b979014f433085b94aab0d3d81bf9269d4b5
parent
b7afc4e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CommandListener.cpp
CommandListener.cpp
+4
-0
No files found.
CommandListener.cpp
View file @
3fd60b42
...
...
@@ -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
()
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment