Loading framework/java/android/bluetooth/BluetoothAdapter.java +9 −0 Original line number Diff line number Diff line Loading @@ -3665,6 +3665,10 @@ public final class BluetoothAdapter { } else if (profile == BluetoothProfile.LE_CALL_CONTROL) { BluetoothLeCallControl tbs = new BluetoothLeCallControl(context, listener); return true; } else if (profile == BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT) { BluetoothLeBroadcastAssistant leAudioBroadcastAssistant = new BluetoothLeBroadcastAssistant(context, listener); return true; } else { return false; } Loading Loading @@ -3779,6 +3783,11 @@ public final class BluetoothAdapter { BluetoothLeCallControl tbs = (BluetoothLeCallControl) proxy; tbs.close(); break; case BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT: BluetoothLeBroadcastAssistant leAudioBroadcastAssistant = (BluetoothLeBroadcastAssistant) proxy; leAudioBroadcastAssistant.close(); break; } } Loading Loading
framework/java/android/bluetooth/BluetoothAdapter.java +9 −0 Original line number Diff line number Diff line Loading @@ -3665,6 +3665,10 @@ public final class BluetoothAdapter { } else if (profile == BluetoothProfile.LE_CALL_CONTROL) { BluetoothLeCallControl tbs = new BluetoothLeCallControl(context, listener); return true; } else if (profile == BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT) { BluetoothLeBroadcastAssistant leAudioBroadcastAssistant = new BluetoothLeBroadcastAssistant(context, listener); return true; } else { return false; } Loading Loading @@ -3779,6 +3783,11 @@ public final class BluetoothAdapter { BluetoothLeCallControl tbs = (BluetoothLeCallControl) proxy; tbs.close(); break; case BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT: BluetoothLeBroadcastAssistant leAudioBroadcastAssistant = (BluetoothLeBroadcastAssistant) proxy; leAudioBroadcastAssistant.close(); break; } } Loading