Revert "adb: turn on libusb by default."
This reverts commitf2f0b31850. libusb seems to be causing flakiness on some machines. Disable it for now. Bug: http://b/62962248 Test: python test_device.py (with DeviceOfflineTest commented out) Change-Id: Ia9de78ab772c22574cf5ca7facb78f22af6d7a71 (cherry picked from commit969110ca4a)
This commit is contained in:
parent
712b628d70
commit
aabd9a09b5
1 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ bool should_use_libusb() {
|
|||
#if defined(_WIN32) || !ADB_HOST
|
||||
return false;
|
||||
#else
|
||||
static bool disable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "0") == 0;
|
||||
return !disable;
|
||||
static bool enable = getenv("ADB_LIBUSB") && strcmp(getenv("ADB_LIBUSB"), "1") == 0;
|
||||
return enable;
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue