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

Commit 43f69c97 authored by Jakub Tyszkowski's avatar Jakub Tyszkowski
Browse files

le_audio: Fix setting value on a null object reference

Bug: 150670922
Bug: 223746186
Fixes: 223746186
Tag: #feature
Test: atest BluetoothInstrumentationTests
Sponsor: jpawlowski@
Change-Id: Iac9041510f7172125afe35b80a6fc34b47d8832c
parent 26217c47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -776,7 +776,7 @@ public class LeAudioService extends ProfileService {
                if (mActiveAudioOutDevice.isConnected()) {
                    device = mActiveAudioOutDevice;
                }
            } else {
            } else if (previousGroupId != LE_AUDIO_GROUP_ID_INVALID) {
                Log.i(TAG, " Switching active group from " + previousGroupId + " to " + groupId);
                /* Mark old group as no active */
                LeAudioGroupDescriptor descriptor = mGroupDescriptors.get(previousGroupId);