From 58fbe7383b30e38bd27c636e1bf505b2f2b86a05 Mon Sep 17 00:00:00 2001 From: vincent Bourgmayer Date: Mon, 19 Sep 2022 14:44:10 +0200 Subject: [PATCH] disable usage of chunked upload temporarily --- .../foundation/e/drive/operations/UploadFileOperation.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/foundation/e/drive/operations/UploadFileOperation.java b/app/src/main/java/foundation/e/drive/operations/UploadFileOperation.java index 2c6bdb09..23b7bb2a 100644 --- a/app/src/main/java/foundation/e/drive/operations/UploadFileOperation.java +++ b/app/src/main/java/foundation/e/drive/operations/UploadFileOperation.java @@ -78,12 +78,12 @@ public class UploadFileOperation extends RemoteOperation { } final RemoteOperationResult uploadResult; - if (file.length() >= FILE_SIZE_FLOOR_FOR_CHUNKED) { + /*if (file.length() >= FILE_SIZE_FLOOR_FOR_CHUNKED) { Log.d(TAG, "upload " + file.getName() + " as chunked file"); uploadResult = uploadChunkedFile(file, client); - } else { + } else {*/ uploadResult = uploadFile(file, client); - } + //} final ResultCode resultCode; if (uploadResult.isSuccess()) { -- GitLab