commit | 1b4789eec177332129f6148225bf0a7106894f25 | [log] [tgz] |
---|---|---|
author | Sagar Verma <sagarv@codeaurora.org> | Fri Jun 01 19:55:17 2018 +0530 |
committer | chandan mishra <chanmish@codeaurora.org> | Tue Jun 12 12:08:38 2018 +0530 |
tree | bcee1128d68b8132140287ca1242d3c3f476a262 | |
parent | 1fb2651ef9680650000273d9a289f2189ef12626 [diff] |
A2DP: Reduce Mutex lock scope of SetActive Device Limit the scope of Mutex lock in SetActive device to guard the access of A2DP SM and Active device objects. Blocking AudioManager APIs are kept outside critical section to avoid hitting long monitor contention to ensure none of the related threads (like AVRCP, A2DPService etc.) are blocked due to blocking AudioManager calls. CRs-Fixed: 2250237 Change-Id: I8ebdff14be72d5481d60e8e9a3e84db3bacf3e8a