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

Commit ad017af9 authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

AudioService: Remove STREAM_NOTIFICATION from ringer mode streams

Change-Id: Ie8d25743b27839fa2bd4e9ae5d3d0a49410ac5b4
JIRA: CYAN-344
Issue: https://jira.cyanogenmod.org/browse/CYAN-344


Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent b1673701
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -753,9 +753,8 @@ public class AudioService extends IAudioService.Stub implements OnFinished {
                     (1 << AudioSystem.STREAM_SYSTEM)|(1 << AudioSystem.STREAM_SYSTEM_ENFORCED)),
                     UserHandle.USER_CURRENT);

            // ringtone, notification and system streams are always affected by ringer mode
            // ringtone and system streams are always affected by ringer mode
            mRingerModeAffectedStreams |= (1 << AudioSystem.STREAM_RING)|
                                            (1 << AudioSystem.STREAM_NOTIFICATION)|
                                            (1 << AudioSystem.STREAM_SYSTEM);

            if (mVoiceCapable) {