commit | 1c45ee92e2372f3c552744823143fb093fdbda9d | [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 | 5b226fa464c50da9b6242354a43384020a04d086 | |
parent | db50747c933be0d87658385e3fad04ae824a8e5e [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