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

Commit 9c80ee12 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

parents 968bacf3 d13f71c0
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);
        }
    }