From e01ee802826ec0d02d97298a272e06221c8b0bcf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 11 Dec 2019 00:29:38 -0800 Subject: Fix photo decoding --- src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main') 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; } } -- cgit v1.2.3