commit | 007a4dc7a6b8ad6ec206f2c70be7f66d59287ecb | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Mar 11 13:03:08 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Mon Mar 11 13:06:17 2019 -0700 |
tree | bca1d66b39fca1a635aeaf2f77c277dad9d15bff | |
parent | fdfb9a0113abc4b91859f2e4dfd05b1c0ca018b0 [diff] |
adbd: properly handle FUNCTIONFS_BIND without ENABLE. If a device is unplugged, a BIND will happen without an ENABLE until the device is plugged in, which would previously result in adbd crashing every 5 seconds due to an attempt to join a thread that hadn't been started. Bug: http://b/128255355 Test: manually observed adbd via serial cable while unplugged Change-Id: I90d6384e7e829df1ffaf73a95f2418a2ff97fb03