commit | 3df56539fc6c8207ecce86b9c6bc7f404949601b | [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 | 1b19454fd6ecfafa699d3ffe163fc7fd99bcccea | |
parent | 8a2390a1eeaaedc9a2ea433e6aaf6d4998fed465 [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