Loading android/app/src/com/android/bluetooth/a2dp/A2dpStateMachine.java +6 −0 Original line number Diff line number Diff line Loading @@ -144,6 +144,12 @@ 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(); } Loading Loading
android/app/src/com/android/bluetooth/a2dp/A2dpStateMachine.java +6 −0 Original line number Diff line number Diff line Loading @@ -144,6 +144,12 @@ 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(); } Loading