Bladeren bron

Partial revert "Some progress on auto-upload fixes"

This reverts commit 9c39a6dfdca7866a3856e857af7c0204ab229af6.
Mario Danic 8 jaren geleden
bovenliggende
commit
c8785b76cc
1 gewijzigde bestanden met toevoegingen van 0 en 2 verwijderingen
  1. 0 2
      src/com/owncloud/android/services/FileAlterationMagicListener.java

+ 0 - 2
src/com/owncloud/android/services/FileAlterationMagicListener.java

@@ -128,7 +128,6 @@ public class FileAlterationMagicListener implements FileAlterationListener {
         if (fileRunnable.containsKey(file.getAbsolutePath())) {
             handler.removeCallbacks(fileRunnable.get(file.getAbsolutePath()));
             handler.postDelayed(fileRunnable.get(file.getAbsolutePath()), 500);
-            fileRunnable.remove(file.getAbsolutePath());
         }
     }
 
@@ -136,7 +135,6 @@ public class FileAlterationMagicListener implements FileAlterationListener {
     public void onFileDelete(File file) {
         if (fileRunnable.containsKey(file.getAbsolutePath())) {
             handler.removeCallbacks(fileRunnable.get(file.getAbsolutePath()));
-            fileRunnable.remove(file.getAbsolutePath());
         }
     }