Add Settings support for Bluetooth Multi-A2DP and Multi-HFP
Test: Code compilation
Bug: 64767509
[NOTE: The cherry-pick removed changes to non-existent code and log
message description that doesn't apply here.]
Change-Id: Iee76286110ed87703d6a968f50273c22cd7c7086
Merged-In: Iee76286110ed87703d6a968f50273c22cd7c7086
(cherry picked from commit 4b796e5d2e
)
This commit is contained in:
@@ -76,6 +76,10 @@ public final class BluetoothSummaryUpdater extends SummaryUpdater implements Blu
|
|||||||
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
|
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void register(boolean listening) {
|
public void register(boolean listening) {
|
||||||
if (mBluetoothAdapter == null) {
|
if (mBluetoothAdapter == null) {
|
||||||
|
@@ -276,6 +276,9 @@ public abstract class DeviceListPreferenceFragment extends
|
|||||||
|
|
||||||
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { }
|
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { }
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the key of the {@link PreferenceGroup} that contains the bluetooth devices
|
* Return the key of the {@link PreferenceGroup} that contains the bluetooth devices
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user