commit | 4802c0c507681634aee38518581a080bfa443ae2 | [log] [tgz] |
---|---|---|
author | Praveen Chavan <pchavan@codeaurora.org> | Tue Sep 29 02:25:47 2015 -0700 |
committer | Glenn Kasten <gkasten@google.com> | Mon Oct 05 09:13:59 2015 -0700 |
tree | e184ee110c468c7ef4621e5e32a6b8bfeaab11d6 | |
parent | 4a8f4a3f567d8b3134b1c7ab21ca774f279ab9c2 [diff] |
AudioSystem: Fix race condition in accessing ioDescriptors The vector mIoDescriptors can be simultaneouly modified and accessed by 2 threads. Acquire a lock while wrapping the ioDescriptor in a sp<> Bug: 24576810 Author: Haynes Mathew George <hgeorge@codeaurora.org> Change-Id: I73c79ef8eca092b500a7ead3a5ebd0bcf75f9920