diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-12-11 00:29:38 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-12-11 00:29:38 -0800 |
commit | e01ee802826ec0d02d97298a272e06221c8b0bcf (patch) | |
tree | ff16179c8b9783b3c581e3c59ba5e426361b5167 /src/main/java/org | |
parent | 22a5358b7b8f15ac8a3ac3ac050f7804e9d83938 (diff) | |
download | traccar-server-e01ee802826ec0d02d97298a272e06221c8b0bcf.tar.gz traccar-server-e01ee802826ec0d02d97298a272e06221c8b0bcf.tar.bz2 traccar-server-e01ee802826ec0d02d97298a272e06221c8b0bcf.zip |
Fix photo decoding
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java | 1 |
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; } } |