aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
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")) {