Update the method name from isA2dpDevice() to isConnectedA2dpDevice()
Bug: 110072747 Test: make -j50 RunSettingsRoboTests Change-Id: Id3ceb3a62b888a2bde82a1372edf26454e525ea1
This commit is contained in:
@@ -82,7 +82,7 @@ public class ConnectedBluetoothDeviceUpdater extends BluetoothDeviceUpdater {
|
||||
// show the bluetooth device that doesn't have headset profile.
|
||||
switch (currentAudioProfile) {
|
||||
case BluetoothProfile.A2DP:
|
||||
isFilterMatched = !cachedDevice.isA2dpDevice();
|
||||
isFilterMatched = !cachedDevice.isConnectedA2dpDevice();
|
||||
break;
|
||||
case BluetoothProfile.HEADSET:
|
||||
isFilterMatched = !cachedDevice.isHfpDevice();
|
||||
|
Reference in New Issue
Block a user