commit | e31085c67dbf99dde35c8300c271a72400fc3f63 | [log] [tgz] |
---|---|---|
author | Shaju Mathew <shaju@google.com> | Thu Feb 29 17:19:43 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Feb 29 17:19:43 2024 +0000 |
tree | 1b3d590c67e0ef8568162e84c96d6cfbba6e9691 | |
parent | 752be326d1b833cfe3efc9209eaa84288066d671 [diff] | |
parent | 5e80f31967e4fee8a84f91470237cc0c85e9cdeb [diff] |
Merge "Revert "Defaulting to libusb for all hosts, including Windows"" into main am: 7f5b268560 am: 5e80f31967 Original change: https://android-review.googlesource.com/c/platform/packages/modules/adb/+/2983196 Change-Id: Iffadf584529efea85605ee01e3a38113fc3c3667 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/client/transport_usb.cpp b/client/transport_usb.cpp index 5c0799e..998f73c 100644 --- a/client/transport_usb.cpp +++ b/client/transport_usb.cpp
@@ -179,6 +179,9 @@ bool should_use_libusb() { bool enable = true; +#if defined(_WIN32) + enable = false; +#endif char* env = getenv("ADB_LIBUSB"); if (env) { enable = (strcmp(env, "1") == 0);