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:
Mikhail Naganov 2023-01-25 18:43:26 +00:00 committed by Automerger Merge Worker
commit ea87c8a518

View file

@ -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(),