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

Commit 0b6c6f2c authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android (Google) Code Review
Browse files

Merge "Fix media option settings for A2DP." into eclair

parents cb2d50d0 6309689e
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