diff options
author | Eric Laurent <elaurent@google.com> | 2015-09-23 10:25:31 -0700 |
---|---|---|
committer | Divya Sharma <c_shard@codeaurora.org> | 2015-11-04 11:52:03 -0800 |
commit | f17204ea09e5629f3f9d9eba2e66d9fb6ce72357 (patch) | |
tree | f1e9c81a7a2b56a0b16c2d16903b4e3cd0c6ee7a /services/audiopolicy/common/managerdefinitions/src/EffectDescriptor.cpp | |
parent | 36a5d0626d308c7dd04a6e0c8aa06a91d2398d3e (diff) | |
download | frameworks_av-f17204ea09e5629f3f9d9eba2e66d9fb6ce72357.zip frameworks_av-f17204ea09e5629f3f9d9eba2e66d9fb6ce72357.tar.gz frameworks_av-f17204ea09e5629f3f9d9eba2e66d9fb6ce72357.tar.bz2 |
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
Diffstat (limited to 'services/audiopolicy/common/managerdefinitions/src/EffectDescriptor.cpp')
0 files changed, 0 insertions, 0 deletions