Loading media/java/android/media/AudioManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -6952,7 +6952,8 @@ public class AudioManager { for (Integer format : formatsList) { int btSourceCodec = AudioSystem.audioFormatToBluetoothSourceCodec(format); if (btSourceCodec != BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) { codecConfigList.add(new BluetoothCodecConfig(btSourceCodec)); codecConfigList.add( new BluetoothCodecConfig.Builder().setCodecType(btSourceCodec).build()); } } return codecConfigList; Loading Loading
media/java/android/media/AudioManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -6952,7 +6952,8 @@ public class AudioManager { for (Integer format : formatsList) { int btSourceCodec = AudioSystem.audioFormatToBluetoothSourceCodec(format); if (btSourceCodec != BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) { codecConfigList.add(new BluetoothCodecConfig(btSourceCodec)); codecConfigList.add( new BluetoothCodecConfig.Builder().setCodecType(btSourceCodec).build()); } } return codecConfigList; Loading