From: masensio Date: Fri, 28 Feb 2014 12:56:33 +0000 (+0100) Subject: OC-3097: (fix bug) When the connection is lost during a download, app thinks that... X-Git-Tag: oc-android-1.5.5~22^2~6 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/77b7f99d666f890b029bf38a795259678b029ab6?hp=--cc OC-3097: (fix bug) When the connection is lost during a download, app thinks that the download is finished --- 77b7f99d666f890b029bf38a795259678b029ab6 diff --git a/owncloud-android-library b/owncloud-android-library index cd4414a7..fb267a05 160000 --- a/owncloud-android-library +++ b/owncloud-android-library @@ -1 +1 @@ -Subproject commit cd4414a7bda686c84e1ca75dd10bcbf9b3f57f83 +Subproject commit fb267a0564392adf4938b8f8824e5c89c22776a0 diff --git a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java index 6429e870..81929e0b 100644 --- a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -1035,7 +1035,7 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa if (mWaitingToSend != null) { mWaitingToSend = getStorageManager().getFileByPath(mWaitingToSend.getRemotePath()); // Update the file to send - if (mWaitingToSend.isDown() && mWaitingToSend.getStoragePath()!=null) { + if (mWaitingToSend.isDown()) { sendDownloadedFile(); } }