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

Commit f18982cc authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Only play sound effects if stream is not muted."

parents d4092888 ac918900
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3987,7 +3987,7 @@ public class AudioService extends IAudioService.Stub
    /** @see AudioManager#playSoundEffect(int, float) */
    public void playSoundEffectVolume(int effectType, float volume) {
        // do not try to play the sound effect if the system stream is muted
        if (isStreamMutedByRingerOrZenMode(STREAM_SYSTEM)) {
        if (isStreamMute(STREAM_SYSTEM)) {
            return;
        }