David A. Velasco 10 жил өмнө
parent
commit
1975f9e776

+ 1 - 3
src/com/owncloud/android/operations/SynchronizeFolderOperation.java

@@ -175,10 +175,8 @@ public class SynchronizeFolderOperation extends SyncOperation {
 
             // Needed in case that cancellation occurs before starting any download.
             // If not, yellow arrow continues being shown.
-            sendBroadcastForNotifyingUIUpdate(result.isSuccess());
+            sendBroadcastForNotifyingUIUpdate(false);
 
-            /// cancellation of download needs to be done separately in any case; a SynchronizeFolderOperation
-            //  may finish much sooner than the real download of the files in the folder 
             Intent intent = new Intent(mContext, FileDownloader.class);
             intent.setAction(FileDownloader.ACTION_CANCEL_FILE_DOWNLOAD);
             intent.putExtra(FileDownloader.EXTRA_ACCOUNT, mAccount);