aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BaseProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-20 14:36:15 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-20 14:36:15 +1300
commit9debdb83c7a00633b6ae751affea787afbd09729 (patch)
tree159ea142c82938f5c2094fe8de4473c2b3e332b5 /src/org/traccar/BaseProtocolDecoder.java
parent06b5113f3d98a44530c2ade6810bc75092fccc31 (diff)
downloadtrackermap-server-9debdb83c7a00633b6ae751affea787afbd09729.tar.gz
trackermap-server-9debdb83c7a00633b6ae751affea787afbd09729.tar.bz2
trackermap-server-9debdb83c7a00633b6ae751affea787afbd09729.zip
Refactor GT06 protocol decoder
Diffstat (limited to 'src/org/traccar/BaseProtocolDecoder.java')
-rw-r--r--src/org/traccar/BaseProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/org/traccar/BaseProtocolDecoder.java
index f5b549e24..12762c19b 100644
--- a/src/org/traccar/BaseProtocolDecoder.java
+++ b/src/org/traccar/BaseProtocolDecoder.java
@@ -74,7 +74,7 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder {
this.protocol = protocol;
}
- public void initPositionDetails(Position position) {
+ public void getLastLocation(Position position) {
Position last = Context.getConnectionManager().getLastPosition(getDeviceId());
if (last != null) {
position.setFixTime(last.getFixTime());