aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-14 10:31:24 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-14 10:31:24 +1300
commita5c854494e398f670787d62385f3bb9c619c2606 (patch)
tree96e1516f5675e5b589ac4b04a3348a5a47697b77 /src
parent84d88b46f9b768063410ca88ce0be78842f5f355 (diff)
parent3fae39aba444e7d2e28a7b1a8e6d6d63d82b53f1 (diff)
downloadtrackermap-server-a5c854494e398f670787d62385f3bb9c619c2606.tar.gz
trackermap-server-a5c854494e398f670787d62385f3bb9c619c2606.tar.bz2
trackermap-server-a5c854494e398f670787d62385f3bb9c619c2606.zip
Merge pull request #1081 from ggps/master
Add new param to OsmAnd protocol
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/OsmAndProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
index d469e0b03..f773a4633 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
@@ -117,6 +117,9 @@ public class OsmAndProtocolDecoder extends BaseProtocolDecoder {
if (params.containsKey("batt")) {
extendedInfo.set("battery", params.get("batt").get(0));
}
+ if (params.containsKey("desc")) {
+ extendedInfo.set("description", params.get("desc").get(0));
+ }
position.setExtendedInfo(extendedInfo.toString());