Add vendor codec type to support the vendor config and capability

Bug: 203490261
Bug: 150670922
Test: make build
Change-Id: I26cdafe6b96a4c0a501f13bf790723c026029aa6
This commit is contained in:
Alice Kuo
2022-01-20 23:10:10 +08:00
parent 63a4e9b2ea
commit 79c936debe
3 changed files with 4 additions and 0 deletions

View File

@@ -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;