Continue syncing till the end even if there's an error in one sync item
This commit is contained in:
parent
0e043ab0ac
commit
19f82a1827
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue