diff --git a/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java b/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java index 6a94623b3..c835e510a 100644 --- a/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java +++ b/core/src/com/google/zxing/multi/GenericMultipleBarcodeReader.java @@ -162,8 +162,9 @@ public final class GenericMultipleBarcodeReader implements MultipleBarcodeReader ResultPoint oldPoint = oldResultPoints[i]; newResultPoints[i] = new ResultPoint(oldPoint.getX() + xOffset, oldPoint.getY() + yOffset); } - return new Result(result.getText(), result.getRawBytes(), newResultPoints, - result.getBarcodeFormat()); + Result newResult = new Result(result.getText(), result.getRawBytes(), newResultPoints, result.getBarcodeFormat()); + newResult.putAllMetadata(result.getResultMetadata()); + return newResult; } }