OC-3087: (fix bug) The loading doesn't deissapear during the download process

This commit is contained in:
masensio 2014-02-26 10:28:21 +01:00
parent 54d99ee9f6
commit 21a6560375
3 changed files with 0 additions and 3 deletions

View file

@ -1640,7 +1640,6 @@ OCFileListFragment.ContainerActivity, FileDetailFragment.ContainerActivity, OnNa
}
private void sendDownloadedFile(){
dismissLoadingDialog();
getFileOperationsHelper().sendDownloadedFile(mWaitingToSend, this);
mWaitingToSend = null;
}

View file

@ -391,7 +391,6 @@ public class FileDetailFragment extends FileFragment implements
FileDisplayActivity activity = (FileDisplayActivity) getSherlockActivity();
// Obtain the file
if (!getFile().isDown()) { // Download the file
//activity.showLoadingDialog();
Log_OC.d(TAG, getFile().getRemotePath() + " : File must be downloaded");
activity.startDownloadForSending(getFile());

View file

@ -368,7 +368,6 @@ public class OCFileListFragment extends ExtendedListFragment implements EditName
case R.id.action_send_file: {
// Obtain the file
if (!mTargetFile.isDown()) { // Download the file
((FileDisplayActivity) getSherlockActivity()).showLoadingDialog();
Log_OC.d(TAG, mTargetFile.getRemotePath() + " : File must be downloaded");
mContainerActivity.startDownloadForSending(mTargetFile);