Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()" am: eeabd6b463 am: bc9c1d0eb8

am: 30547ce3e8

Change-Id: I94706c37d395011fdc7c7d25d4a8426dc7af6d8f
This commit is contained in:
Pavlin Radoslavov
2017-03-29 22:57:39 +00:00
committed by android-build-merger

View File

@@ -2055,6 +2055,20 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
codecTypeValue = BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC; codecTypeValue = BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC;
codecPriorityValue = BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST; codecPriorityValue = BluetoothCodecConfig.CODEC_PRIORITY_HIGHEST;
break; break;
case 6:
synchronized (mBluetoothA2dpLock) {
if (mBluetoothA2dp != null) {
mBluetoothA2dp.enableOptionalCodecs();
}
}
return;
case 7:
synchronized (mBluetoothA2dpLock) {
if (mBluetoothA2dp != null) {
mBluetoothA2dp.disableOptionalCodecs();
}
}
return;
default: default:
break; break;
} }