commit | 910ce0ff0852418c1a1e126bf0b083dcf24d5899 | [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 | cc30f4d7dd2de0cd1213703ed0d3165b4671ebef [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