commit | 3f9f9ce5c726b1aced5a7d1f30090be8257f7ef7 | [log] [tgz] |
---|---|---|
author | Benoit Goby <benoit@android.com> | Fri Mar 29 18:22:36 2013 -0700 |
committer | Benoit Goby <benoit@android.com> | Thu Apr 25 12:34:49 2013 -0700 |
tree | 2a81aaf92772b9908ba360cdf78b17fcab92e029 | |
parent | 12dc36903fddf929003e186ab49f787961bd1510 [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