Multi-A2DP support - add a new internal API to suppress Audio Noisy intent
The new API setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent() is similar to the existing setBluetoothA2dpDeviceConnectionState() except that it takes one extra argument that indicates whether the AudioManager.ACTION_AUDIO_BECOMING_NOISY intent will be sent: setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent( ..., boolean suppressNoisyIntent) This API is needed so the Active A2DP Sink device can be changed while audio is streaming, and the audio continues playing on the new Active Device. Bug: 69269748 Test: Manual: multiple connected A2DP devices, and selecting each as the Active Device. Change-Id: I75766a58d9e6b42b3ce68bd9ad3a7a72ca5a1023 (cherry picked from commit 82e06463)
Loading
Please register or sign in to comment