summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-04-16 23:15:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-16 23:15:06 +0000
commit32e9b6360854d4c2e1d9ef784de2ae01d9fa8dd8 (patch)
treecdd0126f46ac5d13391e61b15ce32f224b5efecd /tv
parent25b3a6f0a42e9f3c7f793dfd06ad431106e078b7 (diff)
parent71d6059bbaa0ae48d65c76ccff58fb7556787df2 (diff)
downloadplatform_hardware_interfaces-32e9b6360854d4c2e1d9ef784de2ae01d9fa8dd8.tar.gz
platform_hardware_interfaces-32e9b6360854d4c2e1d9ef784de2ae01d9fa8dd8.tar.bz2
platform_hardware_interfaces-32e9b6360854d4c2e1d9ef784de2ae01d9fa8dd8.zip
Merge "Return SUCCESS in scan for ATSC" into rvc-dev
Diffstat (limited to 'tv')
-rw-r--r--tv/tuner/1.0/default/Frontend.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tv/tuner/1.0/default/Frontend.cpp b/tv/tuner/1.0/default/Frontend.cpp
index 2cff9be459..6565746c76 100644
--- a/tv/tuner/1.0/default/Frontend.cpp
+++ b/tv/tuner/1.0/default/Frontend.cpp
@@ -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;
}