summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2019-04-03 03:14:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-03 03:14:28 +0000
commit52c6f1b6de1aa43d058207e253d84698d7e197b3 (patch)
treef55d284f0be98d676f41d07f01490713b143c877 /adb
parent5c811fd01afd6395f43d2eed15c2b8d43a4b8ac0 (diff)
parent296ac3f02435cb5faa9c007de984f0bc1b93147a (diff)
downloadsystem_core-52c6f1b6de1aa43d058207e253d84698d7e197b3.tar.gz
system_core-52c6f1b6de1aa43d058207e253d84698d7e197b3.tar.bz2
system_core-52c6f1b6de1aa43d058207e253d84698d7e197b3.zip
Merge "adb: fix mac build breakage."
Diffstat (limited to 'adb')
-rw-r--r--adb/client/usb_osx.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/adb/client/usb_osx.cpp b/adb/client/usb_osx.cpp
index 381ded4bb..5c0da47f6 100644
--- a/adb/client/usb_osx.cpp
+++ b/adb/client/usb_osx.cpp
@@ -557,9 +557,7 @@ int usb_close(usb_handle *handle)
}
void usb_reset(usb_handle* handle) {
- if (!handle->dead) {
- (*handle->interface)->USBDeviceReEnumerate(handle->interface, 0);
- }
+ // Unimplemented on OS X.
usb_kick(handle);
}