Merge "Call scan callback for ATSC" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-04-21 03:29:15 +00:00
committed by Android (Google) Code Review

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) {