From 4b96fc2dafb1fead7e32539bb06c7cc1dee81e47 Mon Sep 17 00:00:00 2001 From: Sam Spycher Date: Mon, 18 Oct 2021 12:33:49 +0200 Subject: [PATCH] fix: temporary workaround for main thread execution --- .../pump/omnipod/eros/history/database/ErosHistoryDatabase.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/omnipod-eros/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/eros/history/database/ErosHistoryDatabase.kt b/omnipod-eros/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/eros/history/database/ErosHistoryDatabase.kt index 2ee8b16f76..a8cfef5b9b 100644 --- a/omnipod-eros/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/eros/history/database/ErosHistoryDatabase.kt +++ b/omnipod-eros/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/eros/history/database/ErosHistoryDatabase.kt @@ -24,6 +24,7 @@ abstract class ErosHistoryDatabase : RoomDatabase() { ErosHistoryDatabase::class.java, "omnipod_eros_history_database.db" ) + .allowMainThreadQueries() .fallbackToDestructiveMigration() .build() }