[Audiosharing] Fix add the secondary buds to audio sharing
onBroadcastMetadataChanged will trigger multiple times between adding sinks to audio sharing. Avoid clean up device candidate list in onBroadcastMetadataChanged Test: manual Bug: 381166680 Flag: com.android.settingslib.flags.enable_le_audio_sharing Change-Id: I66693028478303b07879f5e53e60e2128aa9b114
This commit is contained in:
@@ -187,7 +187,6 @@ public class AudioSharingSwitchBarController extends BasePreferenceController
|
||||
TAG,
|
||||
"Skip handleOnBroadcastReady: null assistant or "
|
||||
+ "sink has active local source.");
|
||||
cleanUpStatesForStartSharing();
|
||||
return;
|
||||
}
|
||||
handleOnBroadcastReady();
|
||||
|
Reference in New Issue
Block a user