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

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

am 76ac3238: Merge "AudioService: Send the right stream to the volume UI on...

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

* commit '76ac3238':
  AudioService: Send the right stream to the volume UI on tablet changes.
parents 528e9abe 76ac3238
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);