aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-12-27 12:19:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-12-27 12:19:25 +1300
commit43a778f6a51d35fc25b4e2ad0230b0f08dfa23e3 (patch)
treed1d5d34203b8e1346c0f3b3e7772b1061f4b3313 /src
parent03a6a25e1d5fb9d3ee42a1d05101f32e9345e3dd (diff)
downloadtrackermap-server-43a778f6a51d35fc25b4e2ad0230b0f08dfa23e3.tar.gz
trackermap-server-43a778f6a51d35fc25b4e2ad0230b0f08dfa23e3.tar.bz2
trackermap-server-43a778f6a51d35fc25b4e2ad0230b0f08dfa23e3.zip
Mark OsmAnd message as valid (fix #1625)
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/OsmAndProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
index 3a0274269..56a7bc5b5 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
@@ -55,6 +55,7 @@ public class OsmAndProtocolDecoder extends BaseProtocolDecoder {
Position position = new Position();
position.setProtocol(getProtocolName());
+ position.setValid(true);
for (Map.Entry<String, List<String>> entry : params.entrySet()) {
String value = entry.getValue().get(0);