aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-15 16:38:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-15 16:38:32 +1300
commit5d818d732fa4c83de13c9bd31f22f94e729060b2 (patch)
tree87d7f6a24d38c12a5cfba129483ae8ca48bee049
parenta0f6b38fadbb0a5181bc3324730b4b8e8afbff3e (diff)
downloadtraccar-server-5d818d732fa4c83de13c9bd31f22f94e729060b2.tar.gz
traccar-server-5d818d732fa4c83de13c9bd31f22f94e729060b2.tar.bz2
traccar-server-5d818d732fa4c83de13c9bd31f22f94e729060b2.zip
Revert the change
-rw-r--r--src/org/traccar/protocol/OsmAndProtocolDecoder.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
index a1bfcc89a..382865e8f 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
@@ -128,9 +128,6 @@ public class OsmAndProtocolDecoder extends BaseProtocolDecoder {
case "batt":
position.set(Position.KEY_BATTERY, value);
break;
- case "alarm":
- position.set(Position.KEY_ALARM, value.equals("sos") ? Position.ALARM_SOS : Position.ALARM_GENERAL);
- break;
default:
position.set(entry.getKey(), value);
break;