commit | 734046ead103df5ec86b1dbd29e9945034a1ecb0 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Mon Apr 16 14:50:52 2018 -0700 |
committer | Eric Laurent <elaurent@google.com> | Mon Apr 16 17:08:06 2018 -0700 |
tree | 910d09f7cd3a19d24b6f3e563db9553e07b7d6a4 | |
parent | 331679c8a5cd21a0e6a7a1d851e965e4721f7420 [diff] |
audioflinger: fix mmap interface callback lock Do not hold the MmapThread mutex when calling methods on MmapStreamCallback as AAudioService will synchronously call methods on MmapStreamInterface that will in turn acquire the mutex. Bug: 78118584 Test: 'adb shell write_sine_callback -m3 -pl -s100 -x' and Plug headphones in and out. Test: AAudio CTS tests Change-Id: I5953bb449e67735271203a2e1dbef0a2b451f5d3