Loading android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/BluetoothProxy.java +3 −1 Original line number Diff line number Diff line Loading @@ -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); } } Loading Loading
android/leaudio/app/src/main/java/com/android/bluetooth/leaudio/BluetoothProxy.java +3 −1 Original line number Diff line number Diff line Loading @@ -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); } } Loading