commit | 503b1d85265371f39d70dd51d38c1ca0e9429e51 | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Mon Apr 15 17:58:08 2024 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Mon Apr 15 17:58:08 2024 +0000 |
tree | 30ec26eb6d6a16a193df60ede3a4016dff4f3d3a | |
parent | 60af20cf874b5b24420d3f96d20c90ee5b309b20 [diff] |
libaudiohal@aidl: Synchronize commands sending Although FMQs implement thread-safe blocking reads and writes, using two queues (one for sending a command, another for receiving a reply) is not an atomic operation by itself. Add synchronization for this pair of operations so that they work as intended. Bug: 333116473 Test: play notification sounds in parallel with music (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:914339da0b5146690758c6bafbde6c921fa1e6d9) Merged-In: Ia29c6c4698499acc600f9b6fe02befddd5de5326 Change-Id: Ia29c6c4698499acc600f9b6fe02befddd5de5326