Switch from polling in a loop to using libusb's hotplug API to detect when devices arrive and leave. Use this to remove devices that were inaccessible when they're unplugged. Bug: http://b/38170349 Test: plugged in device Change-Id: Id157412eb46834debecb0cd45b47b1ced50c2274 |
||
|---|---|---|
| .. | ||
| main.cpp | ||
| usb_dispatch.cpp | ||
| usb_libusb.cpp | ||
| usb_linux.cpp | ||
| usb_osx.cpp | ||
| usb_windows.cpp | ||