Remove problematic dependency
Removed the inclusion of a header file in UlpProxyBase.h
and moved two functions out of UlpProxyBase class
Change-Id: I858613ffbb0b8072056ccb7d1192d7681bf08c3c
diff --git a/msm8996/core/Android.mk b/msm8996/core/Android.mk
index 2c8fadc..4381555 100644
--- a/msm8996/core/Android.mk
+++ b/msm8996/core/Android.mk
@@ -35,8 +35,7 @@
-Wno-unused-parameter
LOCAL_C_INCLUDES:= \
- $(TARGET_OUT_HEADERS)/gps.utils \
- $(TARGET_OUT_HEADERS)/libflp
+ $(TARGET_OUT_HEADERS)/gps.utils
LOCAL_COPY_HEADERS_TO:= libloc_core/
LOCAL_COPY_HEADERS:= \
diff --git a/msm8996/core/UlpProxyBase.h b/msm8996/core/UlpProxyBase.h
index cb169a5..7e3c4be 100644
--- a/msm8996/core/UlpProxyBase.h
+++ b/msm8996/core/UlpProxyBase.h
@@ -30,7 +30,6 @@
#define ULP_PROXY_BASE_H
#include <gps_extended.h>
-#include "fused_location_extended.h"
namespace loc_core {
@@ -69,14 +68,6 @@
}
inline virtual void setAdapter(LocAdapterBase* adapter) {}
inline virtual void setCapabilities(unsigned long capabilities) {}
- inline virtual bool reportBatchingSession(FlpExtBatchOptions &options,
- bool active) {
- return false;
- }
- inline virtual bool reportPositions(const FlpExtLocation* locations,
- int32_t number_of_locations) {
- return false;
- }
};
} // namespace loc_core