summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-06-08 14:14:17 -0700
committerEric Laurent <elaurent@google.com>2014-06-08 14:16:32 -0700
commit59a8923027d2d6a155c0fa434ae65559318da4b6 (patch)
treeabab0761e566b204ef399689ef6e1bd5004357b4 /camera
parent7e45ef9db7446d33c941961c14555413641e444b (diff)
downloadframeworks_av-59a8923027d2d6a155c0fa434ae65559318da4b6.zip
frameworks_av-59a8923027d2d6a155c0fa434ae65559318da4b6.tar.gz
frameworks_av-59a8923027d2d6a155c0fa434ae65559318da4b6.tar.bz2
audio policy service: fix potential deadlock in destructor
In the AudioCommandThread loop, release mLock before releasing the strong reference on the service as AudioPolicyService destructor calls AudioCommandThread::exit() which acquires mLock. Also check exiPending in thread loop before processing pending commands or sleeping. Bug: 15449050. Change-Id: I148bf21bd67ef721b5b5ee2c1a6afb185c59daa3
Diffstat (limited to 'camera')
0 files changed, 0 insertions, 0 deletions