summaryrefslogtreecommitdiff
path: root/core/LocAdapterBase.h
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2019-02-20 11:30:12 -0800
committerDante Russo <drusso@codeaurora.org>2019-02-26 12:33:25 -0800
commite22619060be72c2e5729612a2f811c8b252c5eec (patch)
tree9b5b6c3acf73a52c1df39f88376a0e6938caba43 /core/LocAdapterBase.h
parentd31be6470042dd744a408c207d2b5b7fb7839959 (diff)
downloadgps-e22619060be72c2e5729612a2f811c8b252c5eec.tar.gz
Remove tracking redundanty and assure min interval
A tracking interval should not be less than 100ms If tracking interval or power mode is updated to the same value, then start tracking should not be sent to the modem again. Fix some issues with multiplex with powerMode Change-Id: I91e5d0577569b96179a5337af0fc91641dc126db CRs-fixed: 2190953
Diffstat (limited to 'core/LocAdapterBase.h')
-rw-r--r--core/LocAdapterBase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/LocAdapterBase.h b/core/LocAdapterBase.h
index e4f7be2..a0dd63e 100644
--- a/core/LocAdapterBase.h
+++ b/core/LocAdapterBase.h
@@ -34,6 +34,8 @@
#include <LocationAPI.h>
#include <map>
+#define MIN_TRACKING_INTERVAL (100) // 100 msec
+
typedef struct LocationSessionKey {
LocationAPI* client;
uint32_t id;