diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index 4f7e4f23..8fdb8cbb 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -72,6 +72,7 @@ void LocAdapterBase:: LocPosTechMask loc_technology_mask) { if (mLocAdapterProxyBase == NULL || !mLocAdapterProxyBase->reportPosition(location, + locationExtended, status, loc_technology_mask)) { DEFAULT_IMPL() diff --git a/core/LocAdapterProxyBase.h b/core/LocAdapterProxyBase.h index f6c22afa..1ddcca4c 100644 --- a/core/LocAdapterProxyBase.h +++ b/core/LocAdapterProxyBase.h @@ -58,6 +58,7 @@ public: inline virtual void handleEngineUpEvent() {}; inline virtual void handleEngineDownEvent() {}; inline virtual bool reportPosition(UlpLocation &location, + GpsLocationExtended &locationExtended, enum loc_sess_status status, LocPosTechMask loc_technology_mask) { return false; diff --git a/core/UlpProxyBase.h b/core/UlpProxyBase.h index 845fe1eb..59e265e8 100644 --- a/core/UlpProxyBase.h +++ b/core/UlpProxyBase.h @@ -73,10 +73,8 @@ public: bool active) { return false; } - inline virtual bool reportPositions(FlpExtLocation * locations, - int32_t number_of_locations, - enum loc_sess_status status, - LocPosTechMask techMask) { + inline virtual bool reportPositions(const FlpExtLocation* locations, + int32_t number_of_locations) { return false; } };