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:
@@ -62,7 +62,8 @@ public class AudioSharingDeviceVolumeControlUpdater extends BluetoothDeviceUpdat
|
||||
if (isDeviceConnected(cachedDevice) && isDeviceInCachedDevicesList(cachedDevice)) {
|
||||
// If device is LE audio device and in a sharing session on current sharing device,
|
||||
// it would show in volume control group.
|
||||
if (cachedDevice.isConnectedLeAudioDevice()
|
||||
if ((cachedDevice.isConnectedLeAudioDevice()
|
||||
|| cachedDevice.hasConnectedLeAudioMemberDevice())
|
||||
&& BluetoothUtils.isBroadcasting(mBtManager)
|
||||
&& BluetoothUtils.hasConnectedBroadcastSource(cachedDevice, mBtManager)) {
|
||||
isFilterMatched = true;
|
||||
|
||||
Reference in New Issue
Block a user