Merge "Add new internal API: enableOptionalCodecs()/disableOptionalCodecs()"
am: eeabd6b463
Change-Id: I1ead14c5b587c9934fcd1fff450221cf83c16a3d
This commit is contained in:
@@ -2049,6 +2049,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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user