소스 검색

Partial revert "Some progress on auto-upload fixes"

This reverts commit 9c39a6dfdca7866a3856e857af7c0204ab229af6.
Mario Danic 8 년 전
부모
커밋
c8785b76cc
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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());
         }
     }