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

Commit 1042fc1b authored by jonerlin's avatar jonerlin Committed by android-build-merger
Browse files

Merge "A2dp: Check the value of mConnectionState in isConnected"

am: fe84f1ae

Change-Id: I47fe727529ae12a9fbead5c08c147d2a787c6afb
parents 1e083b8d fe84f1ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -596,7 +596,7 @@ final class A2dpStateMachine extends StateMachine {

    boolean isConnected() {
        synchronized (this) {
            return (getCurrentState() == mConnected);
            return (getConnectionState() == BluetoothProfile.STATE_CONNECTED);
        }
    }