From 19f82a182791658ee7db681229b3b305c9d495d2 Mon Sep 17 00:00:00 2001 From: Synced Synapse Date: Sat, 17 Jan 2015 11:47:21 +0000 Subject: [PATCH] Continue syncing till the end even if there's an error in one sync item --- .../com/syncedsynapse/kore2/service/LibrarySyncService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/syncedsynapse/kore2/service/LibrarySyncService.java b/app/src/main/java/com/syncedsynapse/kore2/service/LibrarySyncService.java index 0c244b8..0c264d5 100644 --- a/app/src/main/java/com/syncedsynapse/kore2/service/LibrarySyncService.java +++ b/app/src/main/java/com/syncedsynapse/kore2/service/LibrarySyncService.java @@ -275,7 +275,9 @@ public class LibrarySyncService extends Service { .post(new MediaSyncEvent(currentSyncItem.getSyncType(), currentSyncItem.getSyncExtras(), MediaSyncEvent.STATUS_FAIL, errorCode, description)); - syncService.stopSelf(serviceStartId); + // Keep syncing till the end + nextSync(); + //syncService.stopSelf(serviceStartId); } }