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

Commit d5da8b9b authored by Vlad Popa's avatar Vlad Popa
Browse files

Change attenuation sign

Test: atest mel_processor_tests
Bug: 315218453
Change-Id: Ice67cd7b00321a67f1b1b35246a45fef2db2e9ff
parent 02a66220
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -893,7 +893,7 @@ public class SoundDoseHelper {
            if (AudioService.mStreamVolumeAlias[streamType] == AudioSystem.STREAM_MUSIC
                    && safeDevicesContains(device)) {
                soundDose.updateAttenuation(
                        AudioSystem.getStreamVolumeDB(AudioSystem.STREAM_MUSIC,
                        -AudioSystem.getStreamVolumeDB(AudioSystem.STREAM_MUSIC,
                                (newIndex + 5) / 10,
                                device), device);
            }