added debug output

This commit is contained in:
Luke Owncloud 2014-11-27 17:03:48 +01:00
parent 86eccab464
commit 7d2f573f6d

View file

@ -263,15 +263,17 @@ public class FileOperationsHelper {
downloaderBinder.cancel(account, file);
} else {
Log_OC.w(TAG, "Download for " + file + " not in progress. Cannot cancel.");
Log_OC.d(TAG, "Download for " + file + " not in progress. Cannot cancel.");
}
} else if (uploaderBinder != null) {
}
if (uploaderBinder != null) {
if (uploaderBinder.isUploading(account, file)) {
uploaderBinder.cancel(account, file);
} else {
Log_OC.w(TAG, "Upload for " + file + " not in progress. Cannot cancel.");
Log_OC.d(TAG, "Upload for " + file + " not in progress. Cannot cancel.");
}
} else {
}
if(downloaderBinder == null && uploaderBinder == null) {
Log_OC.w(TAG, "Neither downloaderBinder nor uploaderBinder set. Cannot cancel.");
}
}