diff options
| author | 2023-11-27 16:58:39 +0100 | |
|---|---|---|
| committer | 2023-12-05 15:48:19 +0100 | |
| commit | f0308c71934bb134076bf6446cf037eb1d60c14b (patch) | |
| tree | b252a2be8bab14befbfc711edbe0b07b7560b40c /libs/androidfw/FileStream.cpp | |
| parent | 8bc28f86428afdf68ffbd56557aa15bfc0c39bc6 (diff) | |
AudioService: make setCommunicationDevice asynchronous
Make setCommunicationDevice return immediately after basic
checks but before the new requested path is actually applied.
Add a synchronization mutex between setCommunicationDevice and
getCommunicationDevice to keep the getter result consistent.
Bug: 308879516
Test: AudioCommunicationDeviceTest
Test: AudioManagerTest
Change-Id: I14cef3fffab4ccdbc2b1ed5cfefc9ce87a91af71
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions