From: Bartek Przybylski Date: Tue, 6 Nov 2012 15:51:42 +0000 (+0100) Subject: increase synchronization period to 24h X-Git-Tag: oc-android-1.4.3~114 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/0348e3df377babca2852a770648d227f9091a04e increase synchronization period to 24h --- diff --git a/src/com/owncloud/android/syncadapter/FileSyncAdapter.java b/src/com/owncloud/android/syncadapter/FileSyncAdapter.java index b78b127b..ea833d49 100644 --- a/src/com/owncloud/android/syncadapter/FileSyncAdapter.java +++ b/src/com/owncloud/android/syncadapter/FileSyncAdapter.java @@ -89,7 +89,9 @@ public class FileSyncAdapter extends AbstractOwnCloudSyncAdapter { mFailedResultsCounter = 0; mLastFailedResult = null; mSyncResult = syncResult; - + mSyncResult.fullSyncRequested = false; + mSyncResult.delayUntil = 60*60*24; // sync after 24h + this.setAccount(account); this.setContentProvider(provider); this.setStorageManager(new FileDataStorageManager(account, getContentProvider()));