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

Commit 1ee5ceb9 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android Git Automerger
Browse files

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

Merge commit '2790b20c'

* commit '2790b20c':
  Fix media option settings for A2DP.
parents 93cee56d 2790b20c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -470,7 +470,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