diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-04 22:13:00 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-04 22:13:00 +0000 |
commit | 9aad3e0a6b8d581140102ccbc54a11f983f3dc4e (patch) | |
tree | 1b3d590c67e0ef8568162e84c96d6cfbba6e9691 | |
parent | 2685ed33371e9532092c9335ef1508930b093049 (diff) | |
parent | 7f5b26856095feb3836f923e47684f41b2a9855f (diff) | |
download | adb-simpleperf-release.tar.gz |
Snap for 11526323 from 7f5b26856095feb3836f923e47684f41b2a9855f to simpleperf-releasesimpleperf-release
Change-Id: Idb0ba1d28e7ef687021d0fc860af0db13bc2862b
-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); |