diff options
| author | Yabin Cui <yabinc@google.com> | 2016-03-25 13:55:07 -0700 |
|---|---|---|
| committer | Yabin Cui <yabinc@google.com> | 2016-04-26 17:00:49 -0700 |
| commit | 2e8937c4e1f966157621ca9d72714d407064433f (patch) | |
| tree | d078c37be93983f5e630b703717aac5eb1989d2c /libutils/Unicode.cpp | |
| parent | 249aa3c9eca9f86a1bdc00391133916b9d652932 (diff) | |
adb: use a custom thread to poll for usb devices on mac.
On mac, if the adb server kicks a transport on some error, mac usb driver
will not report a new usb device. So instead of relying on mac usb driver
to report new usb devices, this CL uses a loop to search for usb devices
not exist before. Note that this is also the behavior on windows and linux
host.
`adb reconnect` can be used to verity this CL.
Bug: 25935458
Change-Id: I890e0eb1fae173f2e7a0c962ededa294d821e015
(cherry picked from commit 48d4c0c42afc1cb77c4573ac22adb61d2f92ccd3)
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
