mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 10:18:59 +03:00
added debug output
This commit is contained in:
parent
86eccab464
commit
7d2f573f6d
1 changed files with 6 additions and 4 deletions
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue