Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adb: Drop -W (wait for app) from am start for faster --uid filter #137

Merged
merged 1 commit into from
Sep 14, 2023

Conversation

MarijnS95
Copy link
Member

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.

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.
Copy link
Contributor

@dvc94ch dvc94ch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx

@MarijnS95 MarijnS95 merged commit 6caae75 into master Sep 14, 2023
34 checks passed
@MarijnS95 MarijnS95 deleted the adb-drop-start-wait-flag branch September 14, 2023 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants