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

Skip to content
Commit 0d5058bf authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

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
parent d2e0bf98
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