platform_system_core/adb/client
Josh Gao 0b13c89f7a adb: reunregress waiting for device on start-server.
Move the invocation of adb_notify_device_scan_complete to
the end of device_connected, where we decrement connecting_devices.
Also, create a dedicated thread for handling hotplug events, instead of
reusing the main thread for this, since the main thread blocks until
device scan is complete.

Test: `adb kill-server; adb devices`
Change-Id: Ia73b1a57538174282a48ef73ab0a3e58152d6f83
2017-05-31 12:13:59 -07:00
..
main.cpp adb: redirect stdout/stderr before initializing usb. 2017-05-18 13:38:50 -07:00
usb_dispatch.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_libusb.cpp adb: reunregress waiting for device on start-server. 2017-05-31 12:13:59 -07:00
usb_linux.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_osx.cpp adb: fix darwin build break. 2017-05-10 13:58:51 -07:00
usb_windows.cpp adb: move all cleanup to a function with defined ordering. 2017-05-09 14:32:47 -07:00