diff options
author | Pavlin Radoslavov <pavlin@google.com> | 2018-01-21 02:59:15 -0800 |
---|---|---|
committer | Pavlin Radoslavov <pavlin@google.com> | 2018-01-26 11:12:17 -0800 |
commit | 03d44ce815a2cfcf963ed8d38fe3de59fc0abd8f (patch) | |
tree | a3fa9e56ecf4bb116e93b38a5ebf40db85a31bc6 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 656096516cf0af5ade7174d441d1a7ca47a77ccd (diff) |
Add Settings support for Bluetooth Multi-A2DP and Multi-HFP
When there are multiple connected A2DP/HFP devices, if a connected
device's name is clicked on, that device will be chosen as
Active - i.e., it will be the device chosen for audio out / phone call.
Also:
* Listen to the BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED
and BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED intents
and update the the status of the current active device.
* When connecting a new device, and Multi-A2DP is enabled, don't
disconnect the currently connected device.
* Update the implementation of isA2dpPlaying() so it correctly checks
all connected devices, not only the first one.
Test: Manual: multiple connected A2DP devices, and selecting each as
the Active Device.
Bug: 64767509
Change-Id: I69f3c85ebf5a7f07f6deed484c6dd65705460ae4
Merged-In: I69f3c85ebf5a7f07f6deed484c6dd65705460ae4
(cherry picked from commit 1af33a192614bb490701ab2e8e21866690b3b4fa)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions