commit | a2ce3c173951845c1305099314451a2f99123b05 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 23 10:25:31 2015 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Oct 28 10:26:45 2015 -0700 |
tree | b540ac98773db3161f65ffbf14f7960b7628524c | |
parent | acd2186aa239efa58b202823083c1b8dbc1c8a16 [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