Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cf0b182 authored by chelseahao's avatar chelseahao
Browse files

Reset metadata and broadcast id upon disconnection of le audio broadcast profile.

Test: atest
Bug: 421817008
Flag: com.android.settingslib.flags.enable_le_audio_sharing
Change-Id: I13f75b5a8126789438f67fed09678c36d74e4397
parent 1498fecf
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -218,6 +218,7 @@ public class LocalBluetoothLeBroadcast implements LocalBluetoothProfile {
                        notifyBroadcastStateChange(BROADCAST_STATE_OFF);
                        unregisterServiceCallBack(mBroadcastCallback);
                        mCachedBroadcastCallbackExecutorMap.clear();
                        resetCacheInfo();
                    }
                    if ((profile == BluetoothProfile.LE_AUDIO_BROADCAST_ASSISTANT)
                            && mIsBroadcastAssistantProfileReady) {