Merge "audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest" am: b9807ec2b1
am: aa26732dcc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2366930 Change-Id: I0742cf6fd4c765936ab2d7eb4695a18e96bd056e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
7f48679f48
1 changed files with 6 additions and 1 deletions
|
@ -687,7 +687,12 @@ class PcmOnlyConfigInputStreamTest : public InputStreamTest {
|
||||||
InputStreamTest::TearDown();
|
InputStreamTest::TearDown();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool canQueryCapturePosition() const { return !xsd::isTelephonyDevice(address.deviceType); }
|
bool canQueryCapturePosition() const {
|
||||||
|
// See b/263305254 and b/259636577. Must use the device initially passed in
|
||||||
|
// as a parameter, not 'address' which gets adjusted during test setup for
|
||||||
|
// the telephony case.
|
||||||
|
return !xsd::isTelephonyDevice(getAttachedDeviceAddress().deviceType);
|
||||||
|
}
|
||||||
|
|
||||||
void createPatchIfNeeded() {
|
void createPatchIfNeeded() {
|
||||||
if (areAudioPatchesSupported()) {
|
if (areAudioPatchesSupported()) {
|
||||||
|
|
Loading…
Reference in a new issue