forked from facebook/buck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AdbHelper: only restart adb when no device is attached
Summary: Currently the adb server is restarted both when there is no device attached, or when there is more than one device attached, but the user hasn't enabled multi install mode. Restarting the adb server helps when adb is flaky and shows devices as offline or not attached, but it doesn't help when there are too many devices are attached and the user forgets to enable multi install mode. This is usually a user error. Disable the server restart and save a little time for the user. Test plan: Test buck install with different device configurations and show it does the right thing about restarting the adb server. Closes facebook#379
- Loading branch information
Showing
2 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters