Browse Source

Partial revert "Some progress on auto-upload fixes"

This reverts commit 9c39a6dfdca7866a3856e857af7c0204ab229af6.
Mario Danic 8 năm trước cách đây
mục cha
commit
c8785b76cc

+ 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());
         }
     }