Loading media/java/android/media/AudioService.java +2 −2 Original line number Diff line number Diff line Loading @@ -1827,8 +1827,8 @@ public class AudioService extends IAudioService.Stub { if (!isStreamAffectedByRingerMode(streamType) || ringerMode == AudioManager.RINGER_MODE_NORMAL) { // ring and notifications volume should never be 0 when not silenced // on voice capable devices if (isPlatformVoice() && // on voice capable devices or devices that support vibration if ((isPlatformVoice() || mHasVibrator) && mStreamVolumeAlias[streamType] == AudioSystem.STREAM_RING) { synchronized (VolumeStreamState.class) { Set set = mStreamStates[streamType].mIndex.entrySet(); Loading Loading
media/java/android/media/AudioService.java +2 −2 Original line number Diff line number Diff line Loading @@ -1827,8 +1827,8 @@ public class AudioService extends IAudioService.Stub { if (!isStreamAffectedByRingerMode(streamType) || ringerMode == AudioManager.RINGER_MODE_NORMAL) { // ring and notifications volume should never be 0 when not silenced // on voice capable devices if (isPlatformVoice() && // on voice capable devices or devices that support vibration if ((isPlatformVoice() || mHasVibrator) && mStreamVolumeAlias[streamType] == AudioSystem.STREAM_RING) { synchronized (VolumeStreamState.class) { Set set = mStreamStates[streamType].mIndex.entrySet(); Loading