OC-3097: (fix bug) When the connection is lost during a download, app thinks that the download is finished

This commit is contained in:
masensio 2014-02-28 13:56:33 +01:00
parent 32ee961d02
commit 77b7f99d66
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit cd4414a7bda686c84e1ca75dd10bcbf9b3f57f83 Subproject commit fb267a0564392adf4938b8f8824e5c89c22776a0

View file

@ -1035,7 +1035,7 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
if (mWaitingToSend != null) { if (mWaitingToSend != null) {
mWaitingToSend = getStorageManager().getFileByPath(mWaitingToSend.getRemotePath()); // Update the file to send mWaitingToSend = getStorageManager().getFileByPath(mWaitingToSend.getRemotePath()); // Update the file to send
if (mWaitingToSend.isDown() && mWaitingToSend.getStoragePath()!=null) { if (mWaitingToSend.isDown()) {
sendDownloadedFile(); sendDownloadedFile();
} }
} }