Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +10 −0 Original line number Diff line number Diff line Loading @@ -6087,6 +6087,16 @@ public class AdapterService extends Service { if (device == null) { mA2dpService.removeActiveDevice(false); } else { /* Workaround for the controller issue which is not able to handle correctly * A2DP offloader vendor specific command while ISO Data path is set. * Proper solutions should be delivered in b/312396770 */ if (mLeAudioService != null) { List<BluetoothDevice> activeLeAudioDevices = mLeAudioService.getActiveDevices(); if (activeLeAudioDevices.get(0) != null) { mLeAudioService.removeActiveDevice(true); } } mA2dpService.setActiveDevice(device); } } Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +10 −0 Original line number Diff line number Diff line Loading @@ -6087,6 +6087,16 @@ public class AdapterService extends Service { if (device == null) { mA2dpService.removeActiveDevice(false); } else { /* Workaround for the controller issue which is not able to handle correctly * A2DP offloader vendor specific command while ISO Data path is set. * Proper solutions should be delivered in b/312396770 */ if (mLeAudioService != null) { List<BluetoothDevice> activeLeAudioDevices = mLeAudioService.getActiveDevices(); if (activeLeAudioDevices.get(0) != null) { mLeAudioService.removeActiveDevice(true); } } mA2dpService.setActiveDevice(device); } } Loading