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

Commit 76ac3238 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

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

parents 728b7500 72966d6d
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);