audio VTS: Use 'IN_DEFAULT' device type for telephony am: 715b8ec2c5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2322475 Change-Id: I547417d56c07c267e328d9ac0483aafbb1801788 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ea87c8a518
1 changed files with 2 additions and 0 deletions
|
@ -1274,6 +1274,8 @@ class InputStreamTest
|
|||
if (!xsd::isTelephonyDevice(address.deviceType)) {
|
||||
metadata.source = toString(xsd::AudioSource::AUDIO_SOURCE_UNPROCESSED);
|
||||
metadata.channelMask = getConfig().base.channelMask;
|
||||
} else {
|
||||
address.deviceType = toString(xsd::AudioDevice::AUDIO_DEVICE_IN_DEFAULT);
|
||||
}
|
||||
#if MAJOR_VERSION == 7 && MINOR_VERSION >= 1
|
||||
auto flagsIt = std::find(flags.begin(), flags.end(),
|
||||
|
|
Loading…
Reference in a new issue