Loading src/com/android/bluetooth/a2dp/A2dpStateMachine.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -596,7 +596,7 @@ final class A2dpStateMachine extends StateMachine { boolean isConnected() { boolean isConnected() { synchronized (this) { synchronized (this) { return (getCurrentState() == mConnected); return (getConnectionState() == BluetoothProfile.STATE_CONNECTED); } } } } Loading Loading
src/com/android/bluetooth/a2dp/A2dpStateMachine.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -596,7 +596,7 @@ final class A2dpStateMachine extends StateMachine { boolean isConnected() { boolean isConnected() { synchronized (this) { synchronized (this) { return (getCurrentState() == mConnected); return (getConnectionState() == BluetoothProfile.STATE_CONNECTED); } } } } Loading