[Audiosharing] Enable audio sharing UI when preview option on.
Test: atest Bug: 368401233 Flag: com.android.settingslib.flags.audio_sharing_developer_option Change-Id: Idbc84e2c43f7361c58c440d1a7d7c78edd3c0521
This commit is contained in:
@@ -77,9 +77,9 @@ public class AvailableMediaBluetoothDeviceUpdater extends BluetoothDeviceUpdater
|
||||
// It would show in Available Devices group if the audio sharing flag is disabled or
|
||||
// the device is not in the audio sharing session.
|
||||
if (cachedDevice.isConnectedLeAudioDevice()) {
|
||||
if (BluetoothUtils.isAudioSharingEnabled()
|
||||
if (BluetoothUtils.isAudioSharingUIAvailable(mContext)
|
||||
&& BluetoothUtils.hasConnectedBroadcastSource(
|
||||
cachedDevice, mLocalBtManager)) {
|
||||
cachedDevice, mLocalBtManager)) {
|
||||
Log.d(
|
||||
TAG,
|
||||
"Filter out device : "
|
||||
|
||||
Reference in New Issue
Block a user