From: David A. Velasco Date: Wed, 17 Dec 2014 11:54:45 +0000 (+0100) Subject: Removed unneeded logs X-Git-Tag: oc-android-1.7.0_signed~23^2~22^2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/f382ae73e3a5b6e066b1209f8d14f834e56e7a6d?ds=inline;hp=--cc Removed unneeded logs --- f382ae73e3a5b6e066b1209f8d14f834e56e7a6d diff --git a/src/com/owncloud/android/files/services/FileDownloader.java b/src/com/owncloud/android/files/services/FileDownloader.java index 2519b6b9..db806913 100644 --- a/src/com/owncloud/android/files/services/FileDownloader.java +++ b/src/com/owncloud/android/files/services/FileDownloader.java @@ -580,12 +580,6 @@ public class FileDownloader extends Service implements OnDatatransferProgressLis * @param file File OCFile */ public void cancel(Account account, OCFile file){ - if(Looper.myLooper() == Looper.getMainLooper()) { - Log_OC.d(TAG, "Current Thread is Main Thread."); - } else { - Log_OC.d(TAG, "Current Thread is NOT Main Thread."); - } - DownloadFileOperation download = null; String targetKey = buildRemoteName(account, file); ArrayList keyItems = new ArrayList(); @@ -602,6 +596,7 @@ public class FileDownloader extends Service implements OnDatatransferProgressLis } } } else { + // this is not really expected... Log_OC.d(TAG, "Canceling file download"); keyItems.add(buildRemoteName(account, file)); }