diff options
author | Shaju Mathew <shaju@google.com> | 2024-02-29 15:53:06 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-02-29 15:53:06 +0000 |
commit | 7f5b26856095feb3836f923e47684f41b2a9855f (patch) | |
tree | 1b3d590c67e0ef8568162e84c96d6cfbba6e9691 | |
parent | b683bd657cb5edfa334ecdac550c515872bb4bdb (diff) | |
parent | c78b41ce1823ea42ecc8c1ced01f4ade787fb5c0 (diff) | |
download | adb-7f5b26856095feb3836f923e47684f41b2a9855f.tar.gz |
Merge "Revert "Defaulting to libusb for all hosts, including Windows"" into main
-rw-r--r-- | client/transport_usb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/transport_usb.cpp b/client/transport_usb.cpp index 5c0799ee..998f73c9 100644 --- a/client/transport_usb.cpp +++ b/client/transport_usb.cpp @@ -179,6 +179,9 @@ bool is_adb_interface(int usb_class, int usb_subclass, int usb_protocol) { 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); |