From ab2cd1a7901d53b7f73499ea87b7cdaff93b7854 Mon Sep 17 00:00:00 2001 From: davigonz Date: Mon, 3 Sep 2018 10:34:49 +0200 Subject: [PATCH] Fix upload colissions --- .../files/chunks/ChunkedUploadRemoteFileOperation.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/owncloud/android/lib/resources/files/chunks/ChunkedUploadRemoteFileOperation.java b/src/com/owncloud/android/lib/resources/files/chunks/ChunkedUploadRemoteFileOperation.java index 91e6734ee4..ac1df18519 100644 --- a/src/com/owncloud/android/lib/resources/files/chunks/ChunkedUploadRemoteFileOperation.java +++ b/src/com/owncloud/android/lib/resources/files/chunks/ChunkedUploadRemoteFileOperation.java @@ -56,9 +56,9 @@ public class ChunkedUploadRemoteFileOperation extends UploadRemoteFileOperation public static final long CHUNK_SIZE = 1024000; private static final String TAG = ChunkedUploadRemoteFileOperation.class.getSimpleName(); - private long mTransferId; + private String mTransferId; - public ChunkedUploadRemoteFileOperation(long transferId, String localPath, String remotePath, String mimeType, + public ChunkedUploadRemoteFileOperation(String transferId, String localPath, String remotePath, String mimeType, String requiredEtag, String fileLastModifTimestamp) { super(localPath, remotePath, mimeType, requiredEtag, fileLastModifTimestamp); mTransferId = transferId;