mDelaysIndex = 0;\r
mDelaysCount = 0;\r
*/\r
- \r
- \r
+\r
Log.d(TAG, "syncing owncloud account " + account.name);\r
\r
sendStickyBroadcast(true, null); // message to signal the start to the UI\r
fetchData(uri, syncResult, file.getFileId());\r
}\r
}\r
- \r
+\r
} else {\r
syncResult.stats.numAuthExceptions++;\r
}\r
.getModificationTimestamp()) {\r
Intent intent = new Intent(this.getContext(), FileDownloader.class);\r
intent.putExtra(FileDownloader.EXTRA_ACCOUNT, getAccount());\r
- intent.putExtra(FileDownloader.EXTRA_FILE_PATH, file.getRemotePath());\r
+ intent.putExtra(FileDownloader.EXTRA_FILE, file);\r
+ /*intent.putExtra(FileDownloader.EXTRA_FILE_PATH, file.getRemotePath());\r
intent.putExtra(FileDownloader.EXTRA_REMOTE_PATH, file.getRemotePath());\r
- intent.putExtra(FileDownloader.EXTRA_FILE_SIZE, file.getFileLength());\r
+ intent.putExtra(FileDownloader.EXTRA_FILE_SIZE, file.getFileLength());*/\r
file.setKeepInSync(true);\r
getContext().startService(intent);\r
}\r