Merge "Update the method name from isA2dpDevice() to isConnectedA2dpDevice()"
This commit is contained in:
committed by
Android (Google) Code Review
commit
e97c21b58d
@@ -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();
|
||||
|
Reference in New Issue
Block a user