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

Commit 880c8ba0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge changes I0917ce3f,Ia9c879a8,I3cd2a839,I703b5e1e into tm-qpr-dev am: 1e815788

parents 8dab620e 1e815788
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -2252,6 +2252,13 @@ public class LeAudioService extends ProfileService {
            }

            if (isGroupEmpty) {
                /* Device is currently an active device. Group needs to be inactivated before
                 * removing
                 */
                if (Objects.equals(device, mActiveAudioOutDevice)
                        || Objects.equals(device, mActiveAudioInDevice)) {
                    handleGroupTransitToInactive(groupId);
                }
                mGroupDescriptors.remove(groupId);
            }
            notifyGroupNodeRemoved(device, groupId);