Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f0308c71 authored by Eric Laurent's avatar Eric Laurent
Browse files

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
parent 8bc28f86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment