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

Commit 94404c9e authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Adjust volume offset as VC profile connection only" am: d13f71c0 am: 9c80ee12

parents 12951d3f 9c80ee12
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1121,8 +1121,10 @@ public class BluetoothProxy {
    }

    public void setVolume(BluetoothDevice device, int volume) {
        if (bluetoothLeAudio != null) {
        if (bluetoothLeAudio != null && !bluetoothLeAudio.getConnectedDevices().isEmpty()) {
            bluetoothLeAudio.setVolume(volume);
        } else if (bluetoothVolumeControl != null) {
            bluetoothVolumeControl.setVolumeOffset(device, volume);
        }
    }