aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-14 14:43:17 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-14 15:37:59 +0500
commit8313471a752dc08e5e7a270349e9f03417672b08 (patch)
treeac124a5eb3009826a53c6b57342a9719716081f7 /src/org/traccar/Context.java
parent30e8409375f9992a5248f7e2597691c0ee08188c (diff)
downloadtrackermap-server-8313471a752dc08e5e7a270349e9f03417672b08.tar.gz
trackermap-server-8313471a752dc08e5e7a270349e9f03417672b08.tar.bz2
trackermap-server-8313471a752dc08e5e7a270349e9f03417672b08.zip
Correct motion state by ignition.
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 a69b1786d..61000172e 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -256,7 +256,8 @@ public final class Context {
config.getLong("report.trip.minimalTripDuration", 300) * 1000,
config.getLong("report.trip.minimalParkingDuration", 300) * 1000,
config.getBoolean("report.trip.greedyParking"),
- config.getLong("report.trip.minimalNoDataDuration", 3600) * 1000);
+ config.getLong("report.trip.minimalNoDataDuration", 3600) * 1000,
+ config.getBoolean("report.trip.stopOnIgnitionOff"));
}
public static void init(String[] arguments) throws Exception {