aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-21 10:53:55 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-21 10:53:55 +0500
commit6aaa8dd3b3ffff7927325616efb9b9bdd8228a67 (patch)
treecaf0bc9b04df133a9751df5bc3996acb2f400db2 /src/org/traccar/Context.java
parent06bdcf65a08b233f6c56ddf4774287c0c0232597 (diff)
downloadtrackermap-server-6aaa8dd3b3ffff7927325616efb9b9bdd8228a67.tar.gz
trackermap-server-6aaa8dd3b3ffff7927325616efb9b9bdd8228a67.tar.bz2
trackermap-server-6aaa8dd3b3ffff7927325616efb9b9bdd8228a67.zip
Make check for valid in MotionEventHandler optional
Diffstat (limited to 'src/org/traccar/Context.java')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index 340eb742c..cf857178f 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -258,7 +258,8 @@ public final class Context {
config.getLong("report.trip.minimalTripDuration", 300) * 1000,
config.getLong("report.trip.minimalParkingDuration", 300) * 1000,
config.getLong("report.trip.minimalNoDataDuration", 3600) * 1000,
- config.getBoolean("report.trip.useIgnition"));
+ config.getBoolean("report.trip.useIgnition"),
+ config.getBoolean("event.motion.processInvalidPositions"));
}
public static void init(String[] arguments) throws Exception {