commit | e301bd883527546cf1938684ce1a210b638ec2dd | [log] [tgz] |
---|---|---|
author | Benoit Goby <[email protected]> | Fri Mar 29 18:22:36 2013 -0700 |
committer | Benoit Goby <[email protected]> | Thu Apr 25 12:34:49 2013 -0700 |
tree | 2a81aaf92772b9908ba360cdf78b17fcab92e029 | |
parent | 8378d2a171b63bfde3a72706b2d192200ad24235 [diff] |
adb: Handle adb connect in a thread adb connect calls connect() in the event loop. If you pass a wrong ip address or the server is slow to respond, this will block the event loop and you can't even kill the adb server with adb kill-server. Handle connect requests in a service thread instead. Change-Id: I2ee732869a3dc22a6d3b87cf8ac80acaa7790037