summaryrefslogtreecommitdiff
path: root/debuggerd/debuggerd.cpp
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2016-03-25 13:55:07 -0700
committerYabin Cui <yabinc@google.com>2016-04-19 11:26:44 -0700
commit48d4c0c42afc1cb77c4573ac22adb61d2f92ccd3 (patch)
tree4a5e23df81d628bac2240098b248c332cdb28346 /debuggerd/debuggerd.cpp
parent603df0e875a43cb045e9235b95f8a883f1722f1d (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
Diffstat (limited to 'debuggerd/debuggerd.cpp')
0 files changed, 0 insertions, 0 deletions