Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hilpitome committed Aug 5, 2024
1 parent fa683f8 commit dae4bbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions opensrp-core/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,11 @@
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

<meta-data
android:name="androidx.work.impl.WorkManagerInitializer"
android:value="androidx.startup" />

</application>

</manifest>
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit dae4bbe

Please sign in to comment.