diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-05-27 01:23:22 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2013-05-27 01:23:22 +0200 |
commit | ad017af9d0edca29f2b0a0034ecd3c06dd91dc45 (patch) | |
tree | 318c86fe89feb0c39c91de627fa7e58b6b9f150b /media | |
parent | b167370151e97a5bb0aa20e560e4f3b52109e8cb (diff) | |
download | frameworks_base-ad017af9d0edca29f2b0a0034ecd3c06dd91dc45.zip frameworks_base-ad017af9d0edca29f2b0a0034ecd3c06dd91dc45.tar.gz frameworks_base-ad017af9d0edca29f2b0a0034ecd3c06dd91dc45.tar.bz2 |
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: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'media')
-rw-r--r-- | media/java/android/media/AudioService.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/media/java/android/media/AudioService.java b/media/java/android/media/AudioService.java index 033bb8a..1144325 100644 --- a/media/java/android/media/AudioService.java +++ b/media/java/android/media/AudioService.java @@ -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) { |