commit | f17204ea09e5629f3f9d9eba2e66d9fb6ce72357 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 23 10:25:31 2015 -0700 |
committer | Divya Sharma <c_shard@codeaurora.org> | Wed Nov 04 11:52:03 2015 -0800 |
tree | f1e9c81a7a2b56a0b16c2d16903b4e3cd0c6ee7a | |
parent | 36a5d0626d308c7dd04a6e0c8aa06a91d2398d3e [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