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

Commit 076b22f9 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "AudioService: fix cross deadlock" into qt-dev

parents 1a4bce99 02facb90
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) {