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

Commit 5b63a712 authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

Merge "AudioService: fix cross deadlock" into qt-dev am: 076b22f9

am: 6fe9299a

Change-Id: I79a9cd20fc006bc6597d25fe9b846bceff1d5d1c
parents ea7f8ea4 6fe9299a
Loading
Loading
Loading
Loading
+10 −12
Original line number Diff line number Diff line
@@ -4974,7 +4974,6 @@ public class AudioService extends IAudioService.Stub
    }

    private void onSetVolumeIndexOnDevice(@NonNull DeviceVolumeUpdate update) {
        synchronized (VolumeStreamState.class) {
        final VolumeStreamState streamState = mStreamStates[update.mStreamType];
        if (update.hasVolumeIndex()) {
            final int index = update.getVolumeIndex();
@@ -4987,7 +4986,6 @@ public class AudioService extends IAudioService.Stub
        }
        setDeviceVolume(streamState, update.mDevice);
    }
    }

    /*package*/ void setDeviceVolume(VolumeStreamState streamState, int device) {