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

Commit f809faed authored by shubang's avatar shubang
Browse files

Update FrontendInfo for CTS

Bug: 155342902
Test: atest android.media.tv.tuner.cts.TunerFrontendTest
Change-Id: Iacc0eb09499a14cbbb6cc605c91fa404361a073c
parent 5254086c
Loading
Loading
Loading
Loading
+21 −28
Original line number Diff line number Diff line
@@ -161,11 +161,6 @@ Return<void> Tuner::getFrontendInfo(FrontendId frontendId, getFrontendInfo_cb _h
        return Void();
    }

    switch (mFrontends[frontendId]->getFrontendType()) {
        case FrontendType::DVBT:
            info.type = FrontendType::DVBT;
            break;
        default:
    vector<FrontendStatusType> statusCaps = {
            FrontendStatusType::DEMOD_LOCK,
            FrontendStatusType::SNR,
@@ -187,8 +182,6 @@ Return<void> Tuner::getFrontendInfo(FrontendId frontendId, getFrontendInfo_cb _h
            .statusCaps = statusCaps,
            .frontendCaps = mFrontendCaps[frontendId],
    };
            break;
    }

    _hidl_cb(Result::SUCCESS, info);
    return Void();