summaryrefslogtreecommitdiff
path: root/location/location_interface.h
diff options
context:
space:
mode:
authorSaurabh Srivastava <ssrivast@codeaurora.org>2017-06-19 17:54:28 +0530
committerSaurabh Srivastava <ssrivast@codeaurora.org>2017-06-19 17:54:28 +0530
commit15830de3b68087a03386566271b058dc9c655912 (patch)
tree0101b450b831bc6decb4162d77aa7aec897e0ccf /location/location_interface.h
parent1e31567ced60ed7970a990543bdf385ce0975b43 (diff)
downloadgps-15830de3b68087a03386566271b058dc9c655912.tar.gz
Adding priority flag for NI and AGPS callbacks
Adding priority flags while registering NI handling callback and AGPS handling callback. To ensure that both NI and AGPS are always handled by our stack instead of Android Framework stack. CRs-Fixed: 2059476 Change-Id: I585328491a7f5d9099287924a03d7710f4e5fda9
Diffstat (limited to 'location/location_interface.h')
-rw-r--r--location/location_interface.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/location/location_interface.h b/location/location_interface.h
index 86febd3..c93f135 100644
--- a/location/location_interface.h
+++ b/location/location_interface.h
@@ -30,6 +30,7 @@
#define LOCATION_INTERFACE_H
#include <LocationAPI.h>
+#include <gps_extended_c.h>
struct GnssInterface {
size_t size;
@@ -49,7 +50,7 @@ struct GnssInterface {
uint32_t (*gnssDeleteAidingData)(GnssAidingData& data);
void (*injectLocation)(double latitude, double longitude, float accuracy);
void (*injectTime)(int64_t time, int64_t timeReference, int32_t uncertainty);
- void (*agpsInit)(void* statusV4Cb);
+ void (*agpsInit)(const AgpsCbInfo& cbInfo);
void (*agpsDataConnOpen)(short agpsType, const char* apnName, int apnLen, int ipType);
void (*agpsDataConnClosed)(short agpsType);
void (*agpsDataConnFailed)(short agpsType);