commit | 2fe0b572a8b450a4fc8f666e95bc9eb39e062907 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed May 01 16:53:53 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed May 01 17:27:27 2019 -0700 |
tree | 64742616f7d55861849aa3a07d38665567d87955 | |
parent | 06818e7b071ed74a75273943860ed3c343b99533 [diff] |
adbd: avoid starting multiple worker threads. A previous patch intended to make receiving multiple FUNCTIONFS_ENABLEs non-fatal, but failed to do so because we would try to spawn another worker thread and hit a different assertion. Bug: http://b/130638368 Test: echo mem | adb shell "su 0 sh -c 'cat > /sys/power/state'" Change-Id: I53456112244d8b4f7d26df6ec6961389fca70498