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

Commit 30648fb2 authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

LeAudioService: Fix setting group as disconnected

When device got disconnected, the group information should be updated if
there is no other devices connected in the group

Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
test: Test: atest BluetoothInstrumentationTests
Change-Id: I4f334f3a2fff54e2867b6b014cc8b5d779ac4f20
parent ea9584e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1094,7 +1094,7 @@ public class LeAudioService extends ProfileService {
                return;
            }

            if (getConnectedDevices().isEmpty()){
            if (getConnectedPeerDevices(myGroupId).isEmpty()){
                descriptor.mIsConnected = false;
                if (descriptor.mIsActive) {
                    /* Notify Native layer */