aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-19 09:30:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-19 09:30:43 +1300
commit1e6fec776c579ab11b190cef38fc9af13784f241 (patch)
tree6ece11809a6ac6b52cd27ae9f7a77a03bdb66c2b /src/org/traccar/BasePipelineFactory.java
parentbeddf46069c0e1a656cd2c2263fcb4309ccb0ac9 (diff)
downloadtrackermap-server-1e6fec776c579ab11b190cef38fc9af13784f241.tar.gz
trackermap-server-1e6fec776c579ab11b190cef38fc9af13784f241.tar.bz2
trackermap-server-1e6fec776c579ab11b190cef38fc9af13784f241.zip
Option to use GSM location for invalid
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index a41e59778..31d3fe420 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -106,7 +106,8 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
}
if (Context.getLocationProvider() != null) {
- locationProviderHandler = new LocationProviderHandler(Context.getLocationProvider());
+ locationProviderHandler = new LocationProviderHandler(
+ Context.getLocationProvider(), Context.getConfig().getBoolean("location.processInvalidPositions"));
}
if (Context.getConfig().getBoolean("distance.enable")) {