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

Commit 2a0c253b authored by Yuichiro Hanada's avatar Yuichiro Hanada Committed by Chih-Yu Huang
Browse files

Fix build breakage in VtsHalMediaC2V1_0TargetMasterTest.

I6c8c2de0888944f57b4ea404a5f589e70ee61dc4 changed the signature of the
function, but the caller in the test was not updated.

Bug: None
Test: m dist tests
Change-Id: I36bae82fe5bd127ad1e2d55eb98efe87acfe6d15
(cherry picked from commit a87da955821dc0ba90f6517e0bce6e8eacb647c9)
parent b8fe079a
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -73,9 +73,10 @@ TEST_P(Codec2MasterHalTest, ListComponents) {
            ASSERT_NE(listener, nullptr);

            // Create component from all known services
            component =
                    mClient->CreateComponentByName(listTraits[i].name.c_str(), listener, &mClient);
            ASSERT_NE(component, nullptr)
            const c2_status_t status =
                    android::Codec2Client::CreateComponentByName(
                            listTraits[i].name.c_str(), listener, &component, &mClient);
            ASSERT_EQ(status, C2_OK)
                    << "Create component failed for " << listTraits[i].name.c_str();
        }
    }