summaryrefslogtreecommitdiff
path: root/location/LocationAPIClientBase.h
diff options
context:
space:
mode:
authorBaili Feng <bailif@codeaurora.org>2017-05-31 16:22:16 +0800
committerBaili Feng <bailif@codeaurora.org>2017-06-06 09:45:37 +0800
commit1f3ac891ae0aee10a2415da7539d58e239cacf92 (patch)
tree18e55eda78caf3d62382b170e51991d3f76fa24b /location/LocationAPIClientBase.h
parent876db406414d985d41d582f1ec4ad97b7c5a8313 (diff)
downloadgps-1f3ac891ae0aee10a2415da7539d58e239cacf92.tar.gz
Make updateConfig functional before gnss is enabled
locAPIGnssUpdateConfig and locAPIEnable/Disable will use different request queues Change-Id: I8c5456ebc4c221ff0e536ad488259b21e5607e03 CRs-Fixed: 2054316
Diffstat (limited to 'location/LocationAPIClientBase.h')
-rw-r--r--location/LocationAPIClientBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/location/LocationAPIClientBase.h b/location/LocationAPIClientBase.h
index 832dca8..0805d7c 100644
--- a/location/LocationAPIClientBase.h
+++ b/location/LocationAPIClientBase.h
@@ -50,6 +50,7 @@ enum REQUEST_TYPE {
REQUEST_NIRESPONSE,
REQUEST_DELETEAIDINGDATA,
REQUEST_CONTROL,
+ REQUEST_CONFIG,
REQUEST_MAX,
};
@@ -446,7 +447,6 @@ private:
};
LocationAPIRequest* getRequestBySession(uint32_t session);
- LocationAPIRequest* getGeofencesRequest();
private:
pthread_mutex_t mMutex;
@@ -462,6 +462,7 @@ private:
RequestQueue* mRequestQueues[REQUEST_MAX];
std::map<uint32_t, SessionEntity> mSessionMap;
int32_t mBatchSize;
+ bool mEnabled;
GnssConfig mConfig;
};