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

Commit 71d6059b authored by shubang's avatar shubang
Browse files

Return SUCCESS in scan for ATSC

This is for a CTS test case

Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I8761fec6af392e4f2d18bc38760effcae2aec273
parent 2501542e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -81,6 +81,9 @@ Return<Result> Frontend::stopTune() {
Return<Result> Frontend::scan(const FrontendSettings& settings, FrontendScanType type) {
    ALOGV("%s", __FUNCTION__);

    if (mType == FrontendType::ATSC) {
        return Result::SUCCESS;
    }
    if (mType != FrontendType::DVBT) {
        return Result::UNAVAILABLE;
    }