From e6d4c884a4d70039f1d4f5740139bd2f54c4d281 Mon Sep 17 00:00:00 2001 From: parveshneedhoo Date: Fri, 1 Nov 2024 11:16:10 +0400 Subject: [PATCH] remove end and start time when sending response time when stopping upload --- src/android/UploadTask.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/android/UploadTask.java b/src/android/UploadTask.java index 55fe02f4..9fd1c5c0 100644 --- a/src/android/UploadTask.java +++ b/src/android/UploadTask.java @@ -241,8 +241,6 @@ public Result doWork() { .putBoolean(KEY_OUTPUT_IS_ERROR, true) .putString(KEY_OUTPUT_FAILURE_REASON, "User cancelled") .putBoolean(KEY_OUTPUT_FAILURE_CANCELED, true) - .putLong(KEY_OUTPUT_UPLOAD_START_TIME, startTime) - .putLong(KEY_OUTPUT_UPLOAD_FINISH_TIME, endTime) .build(); AckDatabase.getInstance(getApplicationContext()).uploadEventDao().insert(new UploadEvent(id, data)); return Result.success(data);