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

Commit 5c18032c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix getActiveMicrophones vts failure."

parents cd77d3c8 ae3196f7
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -1100,11 +1100,10 @@ TEST_P(InputStreamTest, updateSinkMetadata) {
}

TEST_P(InputStreamTest, getActiveMicrophones) {
    doc::test("Getting active microphones should always succeed");
    doc::test("Active microphones of a non started stream may not be retrievable");
    hidl_vec<MicrophoneInfo> microphones;
    ASSERT_OK(device->getMicrophones(returnIn(res, microphones)));
    ASSERT_OK(res);
    ASSERT_TRUE(microphones.size() > 0);
    ASSERT_OK(stream->getActiveMicrophones(returnIn(res, microphones)));
    ASSERT_RESULT(okOrNotSupported, res);
}

//////////////////////////////////////////////////////////////////////////////