diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2018-01-19 18:20:04 -0800 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2018-01-20 11:50:37 -0800 |
commit | be4fb893a01e6e798e4be23666835424fb56b785 (patch) | |
tree | c6edd0369f0438f9e1cde594fcea2c1f8e09a7bf /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | fa208b42266cf3cde8b6ea94cda5eb7b0ed72c4b (diff) |
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 82e06463f2571a06286f9da0bf3ad5a0e58461a2)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions