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

Commit c792fdab 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:...

Merge "Adjust volume offset as VC profile connection only" am: d13f71c0 am: 9c80ee12 am: 94404c9e am: 84c78e66

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2116504



Change-Id: I20b7e71ea09162eb257c4aecf3e227ea2f65e4ac
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 50b6aa76 84c78e66
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);
        }
    }