From: David A. Velasco Date: Wed, 25 Jul 2012 12:39:46 +0000 (+0200) Subject: Fixed bad synchronization of files removed from another client; checked that conditio... X-Git-Tag: oc-android-1.4.3~238 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/ba5785e09f3fbafe37899b3606a3a279ddbd3b38?ds=inline Fixed bad synchronization of files removed from another client; checked that condition removed is not necessary in any case --- 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 {