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:
Pavlin Radoslavov
2018-01-21 02:04:45 -08:00
parent ec4e0d3008
commit ddf48e3962
2 changed files with 7 additions and 0 deletions

View File

@@ -76,6 +76,10 @@ public final class BluetoothSummaryUpdater extends SummaryUpdater implements Blu
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState) {
}
@Override
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile) {
}
@Override
public void register(boolean listening) {
if (mBluetoothAdapter == null) {

View File

@@ -276,6 +276,9 @@ public abstract class DeviceListPreferenceFragment extends
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
*/