The assumption that the Boardconfig.mk will export a flag that will
determine support for a feature is incorrect. Remove using of this
assumed flag from wificond.
Bug:
32842314
Test: Unit tests, On device test
Change-Id: I3aa33318a5e220a30f9950a7bb9488058f1421b9
LOCAL_PATH := $(call my-dir)
wificond_cpp_flags := -Wall -Werror -Wno-unused-parameter
-ifdef WIFI_OFFLOAD_SCANS
-wificond_cpp_flags += -DWIFI_OFFLOAD_SCANS=\"$(WIFI_OFFLOAD_SCANS)\"
-endif
wificond_parent_dir := $(LOCAL_PATH)/../
wificond_includes := \
$(wificond_parent_dir)
}
bool OffloadServiceUtils::IsOffloadScanSupported() const {
- bool result = false;
-#ifdef WIFI_OFFLOAD_SCANS
- LOG(VERBOSE) << "Offload HAL supported";
- result = true;
-#endif
- return result;
+ return false;
}
std::shared_ptr<OffloadScanCallbackInterfaceImpl>