diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2017-08-09 18:40:51 -0700 |
---|---|---|
committer | Kevin Tang <zhikait@codeaurora.org> | 2017-08-11 12:32:34 -0700 |
commit | db3101c207f101a19a078916f2146b4b38f8a7e2 (patch) | |
tree | 81993b69e0aa6c0158a5f35ba1cfeab2d27a5e74 /core/LocApiBase.cpp | |
parent | 2cb23d6015a7c45a9cd9bd2ba6f2b4d59d681e95 (diff) | |
download | gps-db3101c207f101a19a078916f2146b4b38f8a7e2.tar.gz |
move getAgcInformation and setDefaultReport into GnssAdapter
They are currently in LocApiv02, which is incorrect. SystemStatus
shouldn't be referenced at this layer. And both of these two calls
are specific to GnssAdapter use cases too.
Change-Id: I7098e3963be163199a833a8fb6b12a100405f71e
CRs-Fixed: 2090442
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 6cc00b1..303d03a 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -401,10 +401,11 @@ void* LocApiBase :: getSibling() LocApiProxyBase* LocApiBase :: getLocApiProxy() DEFAULT_IMPL(NULL) -void LocApiBase::reportGnssMeasurementData(GnssMeasurementsNotification& measurementsNotify) +void LocApiBase::reportGnssMeasurementData(GnssMeasurementsNotification& measurements, + int msInWeek) { // loop through adapters, and deliver to all adapters. - TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGnssMeasurementDataEvent(measurementsNotify)); + TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGnssMeasurementDataEvent(measurements, msInWeek)); } enum loc_api_adapter_err LocApiBase:: |