diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-02-14 10:31:24 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-02-14 10:31:24 +1300 |
commit | a5c854494e398f670787d62385f3bb9c619c2606 (patch) | |
tree | 96e1516f5675e5b589ac4b04a3348a5a47697b77 /src/org | |
parent | 84d88b46f9b768063410ca88ce0be78842f5f355 (diff) | |
parent | 3fae39aba444e7d2e28a7b1a8e6d6d63d82b53f1 (diff) | |
download | trackermap-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/org')
-rw-r--r-- | src/org/traccar/protocol/OsmAndProtocolDecoder.java | 3 |
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()); |