From 39c3a1404d6b6774fe423adede88d1adfd8e1ca3 Mon Sep 17 00:00:00 2001 From: Milos Kozak Date: Fri, 22 Jan 2021 09:45:21 +0100 Subject: [PATCH] fix AutoStartReceiver injection --- .../nightscout/androidaps/dependencyInjection/ReceiversModule.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/dependencyInjection/ReceiversModule.kt b/app/src/main/java/info/nightscout/androidaps/dependencyInjection/ReceiversModule.kt index 4c6e67608c..a6e7e4104c 100644 --- a/app/src/main/java/info/nightscout/androidaps/dependencyInjection/ReceiversModule.kt +++ b/app/src/main/java/info/nightscout/androidaps/dependencyInjection/ReceiversModule.kt @@ -12,6 +12,7 @@ import info.nightscout.androidaps.receivers.* @Suppress("unused") abstract class ReceiversModule { + @ContributesAndroidInjector abstract fun contributesAutoStartReceiver(): AutoStartReceiver @ContributesAndroidInjector abstract fun contributesBTReceiver(): BTReceiver @ContributesAndroidInjector abstract fun contributesChargingStateReceiver(): ChargingStateReceiver @ContributesAndroidInjector abstract fun contributesDataReceiver(): DataReceiver