aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-12-11 00:29:38 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-12-11 00:29:38 -0800
commite01ee802826ec0d02d97298a272e06221c8b0bcf (patch)
treeff16179c8b9783b3c581e3c59ba5e426361b5167 /src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
parent22a5358b7b8f15ac8a3ac3ac050f7804e9d83938 (diff)
downloadtrackermap-server-e01ee802826ec0d02d97298a272e06221c8b0bcf.tar.gz
trackermap-server-e01ee802826ec0d02d97298a272e06221c8b0bcf.tar.bz2
trackermap-server-e01ee802826ec0d02d97298a272e06221c8b0bcf.zip
Fix photo decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java')
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
index 4d9ec4e01..227a9ac91 100644
--- a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
@@ -281,6 +281,7 @@ public class RuptelaProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_IMAGE, Context.getMediaManager().writeFile(imei, photo, "jpg"));
photo.release();
photo = null;
+ return position;
}
}