Merge "Add vendor codec type to support the vendor config and capability" am: aca34136be

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1955920

Change-Id: I47cb332fc9fea692aedca60abea4a5b0e6b74a32
This commit is contained in:
Treehugger Robot
2022-01-21 01:02:02 +00:00
committed by Automerger Merge Worker
3 changed files with 4 additions and 0 deletions

View File

@@ -41,4 +41,5 @@ enum CodecType {
APTX_HD = 4,
LDAC = 5,
LC3 = 6,
VENDOR = 7,
}

View File

@@ -26,4 +26,5 @@ enum CodecType {
APTX_HD,
LDAC,
LC3,
VENDOR,
}

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;