commit | 047d97b2d046374e2a25c81a984d9cde23f5d781 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Sep 23 10:25:31 2015 -0700 |
committer | Eric Laurent <elaurent@google.com> | Wed Sep 23 11:13:14 2015 -0700 |
tree | 9602fea6112f8b3084fc8575fecbb5ba1e4da201 | |
parent | 3916845dda1289c3419fe21fbe335bcbddc2e354 [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