commit | 000a4193dd82549192277fd4b9bb571d8a4c262f | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Jan 29 15:17:32 2014 -0800 |
committer | Eric Laurent <elaurent@google.com> | Wed Jan 29 15:25:32 2014 -0800 |
tree | 62bb97def825703a634d8a4260431ce5afd68b53 | |
parent | 0eed5ac1a14067d0fd51282e97b43b4fd9121842 [diff] |
audioflinger: fix record thread exit pending check RecordThread loop must not release the mutex after checking for exitPending and before waiting for a new wake up condition. This can happen under the hood when methods like processConfigEvents_l() or checkForNewParameters_l() are called. So exitPending() must be checked after calling these functions. Bug: 12787961. Change-Id: Ia18c518bd5344fbb2401067303fcfe76a86879c4