diff --git a/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/CodecType.aidl b/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/CodecType.aidl index 44b434bbd7..3a5f951005 100644 --- a/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/CodecType.aidl +++ b/bluetooth/audio/aidl/aidl_api/android.hardware.bluetooth.audio/current/android/hardware/bluetooth/audio/CodecType.aidl @@ -41,4 +41,5 @@ enum CodecType { APTX_HD = 4, LDAC = 5, LC3 = 6, + VENDOR = 7, } diff --git a/bluetooth/audio/aidl/android/hardware/bluetooth/audio/CodecType.aidl b/bluetooth/audio/aidl/android/hardware/bluetooth/audio/CodecType.aidl index 68c60f548e..9c3308194e 100644 --- a/bluetooth/audio/aidl/android/hardware/bluetooth/audio/CodecType.aidl +++ b/bluetooth/audio/aidl/android/hardware/bluetooth/audio/CodecType.aidl @@ -26,4 +26,5 @@ enum CodecType { APTX_HD, LDAC, LC3, + VENDOR, } diff --git a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp index 92cd0f5b14..380732fda4 100644 --- a/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp +++ b/bluetooth/audio/utils/aidl_session/BluetoothAudioCodecs.cpp @@ -355,6 +355,7 @@ BluetoothAudioCodecs::GetA2dpOffloadCodecCapabilities( kDefaultOffloadLc3Capability); break; case CodecType::UNKNOWN: + case CodecType::VENDOR: codec_capability = {}; break; } @@ -420,6 +421,7 @@ bool BluetoothAudioCodecs::IsOffloadCodecConfigurationValid( } break; case CodecType::UNKNOWN: + case CodecType::VENDOR: break; } return false;