diff options
author | 2025-02-20 14:33:46 -0800 | |
---|---|---|
committer | 2025-02-21 11:47:20 -0800 | |
commit | 0d5058bf68ecc86d81b7ea5792e944df995a8dba (patch) | |
tree | 5dc6209ec36fa748dc8d7e78f2c20b64a68eae8f /libs/hostgraphics/HostBufferQueue.cpp | |
parent | d2e0bf98a363ce8921eaa9031827ac82f7501a59 (diff) |
AudioService optimize camera sound forced access
Use AtomicBoolean for the "camera sound forced" boolean
instead of protecting it by mSettingsLock.
Remote sync on mSettingsLock in VolumeSteamState methods
readSettings() and setIndex() which do not call into
other methods that synchronize on this lock.
Bug: 393961222
Bug: 287066735
Flag: EXEMPT bug fix
Test: atest VolumeHelperTest ; atest CameraTest
Change-Id: Ic355307d1b5b0305fef55f2019d6db8580dd9437
Diffstat (limited to 'libs/hostgraphics/HostBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions