commit | c410b7f618731c66e968a5a72ba672865145e68d | [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 | 72a6e65fe5cecb1723b4ad00fcdaedd8c33ee983 [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