Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9807ec2 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Gerrit Code Review
Browse files

Merge "audio VTS: Use the right device type in PcmOnlyConfigInputStreamTest"

parents 790a60b1 7029707e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -687,7 +687,12 @@ class PcmOnlyConfigInputStreamTest : public InputStreamTest {
        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() {
        if (areAudioPatchesSupported()) {