- if (FileDownloader.isDownloading(mAccount, mFile.getRemotePath())) {\r
- \r
- // TODO cancelar descarga\r
- \r
+ //if (FileDownloader.isDownloading(mAccount, mFile.getRemotePath())) {\r
+ FileDownloaderBinder downloaderBinder = mContainerActivity.getFileDownloaderBinder();\r
+ if (downloaderBinder != null && downloaderBinder.isDownloading(mAccount, mFile.getRemotePath())) {\r
+ downloaderBinder.cancel(mAccount, mFile.getRemotePath());\r