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

Commit 2790b20c authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android Git Automerger
Browse files

am 0b6c6f2c: Merge "Fix media option settings for A2DP." into eclair

Merge commit '0b6c6f2c' into eclair-plus-aosp

* commit '0b6c6f2c':
  Fix media option settings for A2DP.
parents ce56857e 0b6c6f2c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -463,7 +463,8 @@ public class BluetoothA2dpService extends IBluetoothA2dp.Stub {
                mAudioManager.setParameters("A2dpSuspended=false");
            }

            if (state == BluetoothA2dp.STATE_CONNECTING ||
            if (getSinkPriority(device) > BluetoothA2dp.PRIORITY_OFF &&
                    state == BluetoothA2dp.STATE_CONNECTING ||
                    state == BluetoothA2dp.STATE_CONNECTED) {
                // We have connected or attempting to connect.
                // Bump priority