summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8f574ac)
raw | patch | inline | side by side (parent: 8f574ac)
author | Sohani Rao <sohanirao@google.com> | |
Thu, 10 Aug 2017 19:10:12 +0000 (12:10 -0700) | ||
committer | Sohani Rao <sohanirao@google.com> | |
Sat, 12 Aug 2017 00:44:36 +0000 (17:44 -0700) |
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
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
Android.mk | patch | blob | history | |
scanning/offload/offload_service_utils.cpp | patch | blob | history |
diff --git a/Android.mk b/Android.mk
index b25e39b0f218807098cd2e479efb342fb4baedf5..cd4855e559bc05c91aca19d335c748d227b436e1 100644 (file)
--- a/Android.mk
+++ b/Android.mk
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)
diff --git a/scanning/offload/offload_service_utils.cpp b/scanning/offload/offload_service_utils.cpp
index e7b7be8901f48ab5dc4bcdecc15bfe9360f5e8b1..ce25d85c0484e9e919c5c0aedf167f4e3f4afa86 100644 (file)
}
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>