commit | 56463fc2a3580abd318dfdc33d8d48f239af4b51 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed May 01 16:53:53 2019 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu May 02 14:13:14 2019 -0700 |
tree | dd435042e331eb3f31bad7c51b64241f5a5865b5 | |
parent | cf8c4478c6aa167200d757b25ba337004172ab95 [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 (cherry picked from commit e21de7ebd582f4de729707c3d3495aacbdc7f4f7)