From dae4bbe8e78ca9841214af951eb8089f436e3e02 Mon Sep 17 00:00:00 2001 From: hilary egesa Date: Mon, 5 Aug 2024 14:55:16 +0300 Subject: [PATCH] fix failing tests --- opensrp-core/AndroidManifest.xml | 5 +++++ .../sync/intent/SettingsSyncIntentService.java | 3 --- .../org/smartregister/view/activity/DrishtiApplication.java | 6 ------ 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/opensrp-core/AndroidManifest.xml b/opensrp-core/AndroidManifest.xml index f6295156a..7b1e76c56 100644 --- a/opensrp-core/AndroidManifest.xml +++ b/opensrp-core/AndroidManifest.xml @@ -162,6 +162,11 @@ + + + \ No newline at end of file diff --git a/opensrp-core/src/main/java/org/smartregister/sync/intent/SettingsSyncIntentService.java b/opensrp-core/src/main/java/org/smartregister/sync/intent/SettingsSyncIntentService.java index fbfaad080..b31f0d675 100644 --- a/opensrp-core/src/main/java/org/smartregister/sync/intent/SettingsSyncIntentService.java +++ b/opensrp-core/src/main/java/org/smartregister/sync/intent/SettingsSyncIntentService.java @@ -1,14 +1,11 @@ package org.smartregister.sync.intent; -import android.app.PendingIntent; import android.content.Intent; -import android.util.Log; import org.json.JSONException; import org.smartregister.AllConstants; import org.smartregister.Context; import org.smartregister.CoreLibrary; -import org.smartregister.job.SyncServiceJob; import org.smartregister.job.SyncSettingsServiceWorker; import org.smartregister.sync.helper.SyncSettingsServiceHelper; diff --git a/opensrp-core/src/main/java/org/smartregister/view/activity/DrishtiApplication.java b/opensrp-core/src/main/java/org/smartregister/view/activity/DrishtiApplication.java index 6b7527a38..7724a4114 100644 --- a/opensrp-core/src/main/java/org/smartregister/view/activity/DrishtiApplication.java +++ b/opensrp-core/src/main/java/org/smartregister/view/activity/DrishtiApplication.java @@ -8,8 +8,6 @@ import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.multidex.MultiDex; -import androidx.work.Configuration; -import androidx.work.WorkManager; import net.sqlcipher.database.SQLiteDatabase; @@ -75,10 +73,6 @@ public void onCreate() { super.onCreate(); initializeCrashLyticsTree(); - Configuration configuration = new Configuration.Builder() - .setMinimumLoggingLevel(android.util.Log.INFO) - .build(); - WorkManager.initialize(this, configuration); mInstance = this; SQLiteDatabase.loadLibs(this); } catch (UnsatisfiedLinkError e) {