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

Commit 1d1e7834 authored by Jack He's avatar Jack He Committed by android-build-merger
Browse files

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

am: 1db03667

Change-Id: I36d8daaf06141b69edcde6146d26065ed7d6a30f
parents 37ed4c7b 1db03667
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();
    }