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

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

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

Merge "BluetoothLeAudio: Add missing group check" am: a12071b0 am: 9c652abd am: 31cb716c am: 5312adac

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2071528



Change-Id: I1bb6346d28fdcdbd7637238dbc08219af7d683f7
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 21817dcc 5312adac
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -440,7 +440,8 @@ public class LeAudioService extends ProfileService {
    }

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