OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0b4aa2
)
Proper fix of am args.
author
Felipe Leme
<felipeal@google.com>
Fri, 29 Jan 2016 17:07:57 +0000
(09:07 -0800)
committer
Felipe Leme
<felipeal@google.com>
Fri, 29 Jan 2016 17:07:57 +0000
(09:07 -0800)
BUG:
26871362
Change-Id: If3411b69ea1feef827cd23ef81baa8c0ffeaa309
cmds/dumpstate/dumpstate.cpp
patch
|
blob
|
history
diff --git
a/cmds/dumpstate/dumpstate.cpp
b/cmds/dumpstate/dumpstate.cpp
index
b03a7e4
..
2f124ac
100644
(file)
--- a/
cmds/dumpstate/dumpstate.cpp
+++ b/
cmds/dumpstate/dumpstate.cpp
@@
-1118,7
+1118,7
@@
int main(int argc, char *argv[]) {
if (!path.empty()) {
ALOGI("Final bugreport path: %s\n", path.c_str());
std::vector<std::string> am_args = {
- "android.permission.DUMP", "--receiver-foreground",
+ "
--receiver-permission", "
android.permission.DUMP", "--receiver-foreground",
"--ei", "android.intent.extra.PID", std::to_string(getpid()),
"--es", "android.intent.extra.BUGREPORT", path
};