Show device in Media devices section if has LEA member connected
Test: atest Bug: 396009828 Flag: EXEMPT simple fix Change-Id: Icc6bd1c4fa7cf3c43eec1c4c950fbf778975f803
This commit is contained in:
@@ -85,7 +85,12 @@ public class ConnectedBluetoothDeviceUpdater extends BluetoothDeviceUpdater {
|
||||
// If device is Hearing Aid or LE Audio, it is compatible with HFP and A2DP.
|
||||
// It would not show in Connected Devices group.
|
||||
if (cachedDevice.isConnectedAshaHearingAidDevice()
|
||||
|| cachedDevice.isConnectedLeAudioDevice()) {
|
||||
|| cachedDevice.isConnectedLeAudioDevice()
|
||||
|| cachedDevice.hasConnectedLeAudioMemberDevice()) {
|
||||
if (DBG) {
|
||||
Log.d(TAG, "isFilterMatched() device : " + cachedDevice.getName()
|
||||
+ ", isFilterMatched : false, ha or lea device");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// According to the current audio profile type,
|
||||
|
||||
Reference in New Issue
Block a user