platform_system_core/adb/client
Josh Gao 8bf37d7a4d adb: properly handle libusb_clear_halt failure.
The original code used continue to attempt to try to skip the current
device, but there was an loop between the outside one and the continue.
Move the device handling logic into a function and replace continue
with return.

Test: mma
Change-Id: Iaa7f4b5ddc26d2ce03f1172d37d6307190b44412
2017-05-08 13:50:58 -07:00
..
main.cpp adb: wait for devices to come up instead of sleeping for 3s. 2017-05-04 16:03:12 -07:00
usb_dispatch.cpp adb: use the actual wMaxPacketSize for usb endpoints. 2017-05-03 12:32:39 -07:00
usb_libusb.cpp adb: properly handle libusb_clear_halt failure. 2017-05-08 13:50:58 -07:00
usb_linux.cpp adb: use the actual wMaxPacketSize for usb endpoints. 2017-05-03 12:32:39 -07:00
usb_osx.cpp adb: make darwin build with thread safety analysis. 2017-05-04 16:03:12 -07:00
usb_windows.cpp adb: use the actual wMaxPacketSize for usb endpoints. 2017-05-03 12:32:39 -07:00