Skip to content

Commit

Permalink
Fixed sync issue
Browse files Browse the repository at this point in the history
Signed-off-by: Ephraim Muhia <emuhia@ona.io>
  • Loading branch information
Ephraim Muhia committed Feb 12, 2018
1 parent 576d83c commit 5ff72d4
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 296 deletions.
1 change: 0 additions & 1 deletion opensrp-path/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
android:value="3f94f9c3caeff331b3a2bd8c2182b663ad6a955a" />

<service android:name=".service.intent.SyncService" />
<service android:name=".service.intent.ClientProcessorIntentService" />
<service android:name=".service.intent.ExtendedSyncIntentService" />
<service android:name=".service.intent.ValidateIntentService" />
<service android:name="org.smartregister.growthmonitoring.service.intent.ZScoreRefreshIntentService" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,12 @@
import org.joda.time.DateTime;
import org.smartregister.domain.FetchStatus;
import org.smartregister.path.application.VaccinatorApplication;
import org.smartregister.path.service.intent.ClientProcessorIntentService;
import org.smartregister.path.service.intent.ExtendedSyncIntentService;
import org.smartregister.sync.DrishtiSyncScheduler;

import java.io.Serializable;
import java.util.ArrayList;

import util.ServiceTools;

import static org.smartregister.util.Log.logError;

/**
Expand Down Expand Up @@ -91,7 +88,7 @@ public void onReceive(Context context, Intent intent) {
started();
} else {
boolean isComplete = data.getBoolean(EXTRA_COMPLETE_STATUS);
if (isComplete && !ServiceTools.isServiceRunning(ClientProcessorIntentService.class)) {
if (isComplete) {
complete(fetchStatus);
startExtendedSyncAndAlarms(context);
} else {
Expand Down

This file was deleted.

Loading

0 comments on commit 5ff72d4

Please sign in to comment.