commit | 74ce88ff0f24a8c08fdab3a1140212183089c2b5 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 23 10:25:31 2015 -0700 |
committer | Christian Bejram <cbejram@google.com> | Fri Oct 16 16:48:45 2015 -0700 |
tree | da2c975edfeada4f3d1e2d7ca37cad9ada599f4b | |
parent | 7b80648180feaad1e7edaecd078246f5002a8fb6 [diff] |
AudioPolicyService: fix race in AudioCommandThread Fixe race condition in AudioCommandThread::threadLoop() where a command can be inserted in first position in the queue after the sleep time has been calculated causing a longer delay than expected. Also fix a failure to hold a wake lock while commands are still in the queue. Bug: 22707905. Change-Id: I813626986677bf00106acb37ee20d3dd75d5cf33