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

Commit 1db03667 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "A2DP Revert "Move A2dp State to Disconnected when BT is Turned OFF""

parents 8ea7527e bbae75d0
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -250,12 +250,6 @@ final class A2dpStateMachine extends StateMachine {
    }

    public void doQuit() {
        if ((mTargetDevice != null) &&
            (getConnectionState(mTargetDevice) == BluetoothProfile.STATE_CONNECTING)) {
            log("doQuit()- Move A2DP State to DISCONNECTED");
            broadcastConnectionState(mTargetDevice, BluetoothProfile.STATE_DISCONNECTED,
                                     BluetoothProfile.STATE_CONNECTING);
        }
        quitNow();
    }