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

Commit 40087f64 authored by Henry Fang's avatar Henry Fang Committed by Gerrit Code Review
Browse files

Merge "Fix tunerhal vts feId uninitialized on getFrontendIdByType" into android11-tests-dev

parents 81022732 5b9ba198
Loading
Loading
Loading
Loading
+6 −9
Original line number Diff line number Diff line
@@ -418,7 +418,7 @@ AssertionResult FrontendTests::closeFrontend() {

void FrontendTests::getFrontendIdByType(FrontendType feType, uint32_t& feId) {
    ASSERT_TRUE(getFrontendIds());
    if (mFeIds.size() > 0) {
    feId = INVALID_ID;
    for (size_t i = 0; i < mFeIds.size(); i++) {
        ASSERT_TRUE(getFrontendInfo(mFeIds[i]));
        if (mFrontendInfo.type != feType) {
@@ -427,9 +427,6 @@ void FrontendTests::getFrontendIdByType(FrontendType feType, uint32_t& feId) {
        feId = mFeIds[i];
        return;
    }
    } else {
        feId = INVALID_ID;
    }
}

void FrontendTests::tuneTest(FrontendConfig frontendConf) {