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

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

Merge "le_audio: Fix possible null reference access" am: 604655f6 am: 0b4e1039 am: af5b7ca1

parents 911f2d1b af5b7ca1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -713,7 +713,7 @@ public class LeAudioService extends ProfileService {
                if (mActiveAudioInDevice.isConnected()) {
                    device = mActiveAudioInDevice;
                }
            } else {
            } else if (previousGroupId != LE_AUDIO_GROUP_ID_INVALID) {
                /* Mark old group as no active */
                LeAudioGroupDescriptor descriptor = mGroupDescriptors.get(previousGroupId);
                descriptor.mIsActive = false;