From fa42613b968976c233e4124af8c66e9d1099222c Mon Sep 17 00:00:00 2001 From: Jing Ji Date: Fri, 7 May 2021 21:11:24 -0700 Subject: [PATCH] Fix the argument list to logcat from am instrument Bug: 186570682 Test: am instrument Change-Id: I3290022c865ca16150c3392657f1fe9d31834fc5 --- cmds/am/src/com/android/commands/am/Instrument.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/am/src/com/android/commands/am/Instrument.java b/cmds/am/src/com/android/commands/am/Instrument.java index 2be8264856f8e..1e72ddf8ecfca 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.