Skip to content

Commit 6caae75

Browse files
authored
adb: Drop -W (wait for app) from am start for faster --uid filter (#137)
This effectively reverts commit bf478ad (#118) without touching code improvements elsewhere. `-W` makes app start-up significantly slower, sometimes leaving the user wait up to 10 seconds even if the app has already started and crashed without showing any `logcat` output. It has now become unnecessary since using the app `uid` as filter in #131, which is always available as long as the app is installed and doesn't rely on a running (**before** having crashed!) executable for a process id.
1 parent c2f3291 commit 6caae75

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

xbuild/src/devices/adb.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ impl Adb {
9898
.shell(device, None)
9999
.arg("am")
100100
.arg("start")
101-
.arg("-W")
102101
.arg("-a")
103102
.arg("android.intent.action.MAIN")
104103
.arg("-n")

0 commit comments

Comments
 (0)