Эх сурвалжийг харах

Fix a typo with tmp files

Mario Danic 8 жил өмнө
parent
commit
37f31c5172

+ 1 - 1
src/com/owncloud/android/services/observer/SyncedFolderObserverService.java

@@ -72,7 +72,7 @@ public class SyncedFolderObserverService extends Service {
         fileFilter = new FileFilter() {
             @Override
             public boolean accept(File pathname) {
-                return !pathname.getName().startsWith(".") && !pathname.getAbsolutePath().endsWith(".tmp");
+                return !pathname.getName().startsWith(".") && !pathname.getName().endsWith(".tmp");
             }
         };