Merge commit '2790b20c537b33dbf366436f6d27776148ded490' * commit '2790b20c537b33dbf366436f6d27776148ded490': Fix media option settings for A2DP.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user