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

Commit b54067b8 authored by Grzegorz Kołodziejczyk's avatar Grzegorz Kołodziejczyk Committed by Grzegorz Kolodziejczyk
Browse files

BroadcastStateMachine: Treat ConnectedProcessing as connected

Connectedprocessing should be treated as connected state. If
ConnectedProcessing is not treating as Connected it may implies in some
invalid cases e.g. Can't remove sources of connected devices.

Tag: Bug
Bug: 315389180
Bug: 316005152
Test: atest BassClientStateMachineTest
Change-Id: I5195374402b7904cc86a85625d934e1cac74e0e4
parent 0088cb9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2054,7 +2054,7 @@ public class BassClientStateMachine extends StateMachine {
    }

    synchronized boolean isConnected() {
        return getCurrentState() == mConnected;
        return (getCurrentState() == mConnected) || (getCurrentState() == mConnectedProcessing);
    }

    public static String messageWhatToString(int what) {