1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00
etesync-android/app
Tom Hacohen 20568c850a SyncManager: Request for a full sync if interrupted.
This doesn't work well, but I'm keeping it since it's still better than
what was there before.

We have a problem that on initial sync with long enough logs, Android
kills the sync manager before completion. The reason for that is that
due to the fact that EteSync first downloads the whole journal and only then
processes it, the sync manager spends a minute without making any
network traffic, which in turn makes Android kill the sync[1].

This should probably be fixed by paginating the initial download, that
is, downloading and processing the journal in chunks, which is possibly
a good idea regardless.

1: https://developer.android.com/reference/android/content/AbstractThreadedSyncAdapter.html
2017-05-03 19:04:42 +01:00
..
src SyncManager: Request for a full sync if interrupted. 2017-05-03 19:04:42 +01:00
.gitignore Minor code tweaks (by lint) 2014-12-21 11:24:00 +01:00
build.gradle Bump version. 2017-04-27 13:02:53 +01:00
lint.xml Version 0.7 2015-03-12 18:25:09 +01:00
proguard-rules.txt Rename the Android package to EteSync 2017-02-27 13:23:24 +00:00