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

Commit 34b19dfb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Adjust volume offset as VC profile connection only" into tm-d1-dev

parents 9fed7229 8d9c8437
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1133,8 +1133,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);
        }
    }