summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2015-09-23 10:25:31 -0700
committerEric Laurent <elaurent@google.com>2015-09-23 11:13:14 -0700
commit047d97b2d046374e2a25c81a984d9cde23f5d781 (patch)
tree9602fea6112f8b3084fc8575fecbb5ba1e4da201 /services/audiopolicy/common/managerdefinitions/src/AudioInputDescriptor.cpp
parent3916845dda1289c3419fe21fbe335bcbddc2e354 (diff)
downloadframeworks_av-047d97b2d046374e2a25c81a984d9cde23f5d781.zip
frameworks_av-047d97b2d046374e2a25c81a984d9cde23f5d781.tar.gz
frameworks_av-047d97b2d046374e2a25c81a984d9cde23f5d781.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/AudioInputDescriptor.cpp')
0 files changed, 0 insertions, 0 deletions