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

Commit d850ef7b authored by John Spurlock's avatar John Spurlock Committed by Android Git Automerger
Browse files

am a3a0bb4b: am 76ac3238: Merge "AudioService: Send the right stream to the...

am a3a0bb4b: am 76ac3238: Merge "AudioService: Send the right stream to the volume UI on tablet changes." into mnc-dev

* commit 'a3a0bb4b':
  AudioService: Send the right stream to the volume UI on tablet changes.
parents ff69c55e a3a0bb4b
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1542,11 +1542,7 @@ public class AudioService extends IAudioService.Stub {

    // UI update and Broadcast Intent
    private void sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) {
        if (!isPlatformVoice() && (streamType == AudioSystem.STREAM_RING)) {
            streamType = AudioSystem.STREAM_NOTIFICATION;
        } else {
        streamType = mStreamVolumeAlias[streamType];
        }

        if (streamType == AudioSystem.STREAM_MUSIC) {
            flags = updateFlagsForSystemAudio(flags);