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

Commit 9c652abd authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "BluetoothLeAudio: Add missing group check" am: a12071b0

parents 1e502253 a12071b0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -439,7 +439,8 @@ public class LeAudioService extends ProfileService {
    }

    BluetoothDevice getConnectedGroupLeadDevice(int groupId) {
        if (mActiveAudioOutDevice != null) {
        if (mActiveAudioOutDevice != null
            && getGroupId(mActiveAudioOutDevice) == groupId) {
            return mActiveAudioOutDevice;
        }
        return getFirstDeviceFromGroup(groupId);