Call scan callback for ATSC

It's a temp solution for CTS.

Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I31242910af39108dca5920bd0892fa16aa6d29be
This commit is contained in:
shubang
2020-04-17 18:25:45 -07:00
parent 32e9b63608
commit a990ecee79

View File

@@ -82,6 +82,10 @@ Return<Result> Frontend::scan(const FrontendSettings& settings, FrontendScanType
ALOGV("%s", __FUNCTION__);
if (mType == FrontendType::ATSC) {
FrontendScanMessage msg;
msg.isLocked(true);
mCallback->onScanMessage(FrontendScanMessageType::LOCKED, msg);
mIsLocked = true;
return Result::SUCCESS;
}
if (mType != FrontendType::DVBT) {