From ba5785e09f3fbafe37899b3606a3a279ddbd3b38 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Wed, 25 Jul 2012 14:39:46 +0200 Subject: [PATCH] Fixed bad synchronization of files removed from another client; checked that condition removed is not necessary in any case --- AndroidManifest.xml | 2 +- src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 5983bc0d..063cd7cf 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -18,7 +18,7 @@ --> + android:versionName="0.1.182B" xmlns:android="http://schemas.android.com/apk/res/android"> diff --git a/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java b/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java index d14151a2..3397836b 100644 --- a/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java +++ b/src/eu/alefzero/owncloud/syncadapter/FileSyncAdapter.java @@ -206,7 +206,7 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter { OCFile file; for (int i=0; i < files.size(); ) { file = files.get(i); - if (file.getLastSyncDate() != mCurrentSyncTime && file.getLastSyncDate() != 0) { + if (file.getLastSyncDate() != mCurrentSyncTime) { getStorageManager().removeFile(file); files.remove(i); } else { -- 2.11.0