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

Commit 604655f6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "le_audio: Fix possible null reference access"

parents 558c6c27 d9b0714a
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;