mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user