summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Eric Laurent <elaurent@google.com> 2023-11-27 16:58:39 +0100
committer Eric Laurent <elaurent@google.com> 2023-12-05 15:48:19 +0100
commitf0308c71934bb134076bf6446cf037eb1d60c14b (patch)
treeb252a2be8bab14befbfc711edbe0b07b7560b40c /libs/androidfw/FileStream.cpp
parent8bc28f86428afdf68ffbd56557aa15bfc0c39bc6 (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