Merge "Update the method name from isA2dpDevice() to isConnectedA2dpDevice()"

This commit is contained in:
TreeHugger Robot
2018-08-20 18:02:35 +00:00
committed by Android (Google) Code Review
4 changed files with 10 additions and 10 deletions

View File

@@ -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.isConnectedHfpDevice();