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

Commit be779e3d authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

leaudio: Fix sending broadcast intents

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: atest BluetoothInstrumentationTests

Change-Id: I7bebb7ba100f99e9fdc3223a6548dc6e09f0c758
parent 36d9682d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -796,6 +796,11 @@ public class LeAudioService extends ProfileService {
            intent = new Intent(BluetoothLeAudio.ACTION_LE_AUDIO_GROUP_STATUS_CHANGED);
            intent.putExtra(BluetoothLeAudio.EXTRA_LE_AUDIO_GROUP_ID, group_id);
            intent.putExtra(BluetoothLeAudio.EXTRA_LE_AUDIO_GROUP_STATUS, group_status);

        }

        if (intent != null) {
            sendBroadcast(intent, BLUETOOTH_CONNECT);
        }
    }