summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJing Ji <jji@google.com>2021-05-07 21:11:24 -0700
committerJing Ji <jji@google.com>2021-05-07 21:11:24 -0700
commitfa42613b968976c233e4124af8c66e9d1099222c (patch)
treee191ba1f36b23f6c89ae385154b99bde32c97ce9
parent610ec38145abd6284ea594320420d8b54a0c5b1a (diff)
Fix the argument list to logcat from am instrument
Bug: 186570682 Test: am instrument Change-Id: I3290022c865ca16150c3392657f1fe9d31834fc5
-rw-r--r--cmds/am/src/com/android/commands/am/Instrument.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/am/src/com/android/commands/am/Instrument.java b/cmds/am/src/com/android/commands/am/Instrument.java
index 2be8264856f8..1e72ddf8ecfc 100644
--- a/cmds/am/src/com/android/commands/am/Instrument.java
+++ b/cmds/am/src/com/android/commands/am/Instrument.java
@@ -555,7 +555,7 @@ public class Instrument {
// Start the process
final Process process = new ProcessBuilder()
- .command("logcat", "-d", "-v threadtime,uid", "-T", timestamp)
+ .command("logcat", "-d", "-v", "threadtime,uid", "-T", timestamp)
.start();
// Nothing to write. Don't let the command accidentally block.