From 7627f75aa9c032948ab18653205db76369bea941 Mon Sep 17 00:00:00 2001 From: davigonz Date: Thu, 9 Aug 2018 10:54:31 +0200 Subject: [PATCH] Get mEtag again --- .../lib/resources/files/DownloadRemoteFileOperation.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/com/owncloud/android/lib/resources/files/DownloadRemoteFileOperation.java b/src/com/owncloud/android/lib/resources/files/DownloadRemoteFileOperation.java index 46d6ec52..8d60b884 100644 --- a/src/com/owncloud/android/lib/resources/files/DownloadRemoteFileOperation.java +++ b/src/com/owncloud/android/lib/resources/files/DownloadRemoteFileOperation.java @@ -154,7 +154,8 @@ public class DownloadRemoteFileOperation extends RemoteOperation { Log_OC.e(TAG, "Could not read modification time from response downloading " + mRemotePath); } - // TODO mEtag = WebdavUtils.getEtagFromResponse(mGet); + mEtag = WebdavUtils.getEtagFromResponse(mGet); + if (mEtag.length() == 0) { Log_OC.e(TAG, "Could not read eTag from response downloading " + mRemotePath); }