commit | fc0432c0d9538089223889ef5a5d64d5920c7494 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 23 10:25:31 2015 -0700 |
committer | The Android Automerger <android-build@google.com> | Mon Oct 19 23:41:01 2015 -0700 |
tree | 1adf10f28d2b878280234717bb7bb0f176e81462 | |
parent | 02103bb21c90abdca4e4ba91f7e3e007a82e01fd [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