fix AutoStartReceiver
This commit is contained in:
parent
d2517f0beb
commit
7aa689d331
1 changed files with 4 additions and 3 deletions
|
@ -4,10 +4,11 @@ import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import dagger.android.DaggerBroadcastReceiver
|
import dagger.android.DaggerBroadcastReceiver
|
||||||
import info.nightscout.androidaps.plugins.general.persistentNotification.DummyServiceHelper
|
import info.nightscout.androidaps.plugins.general.persistentNotification.DummyServiceHelper
|
||||||
|
import javax.inject.Inject
|
||||||
|
|
||||||
class AutoStartReceiver constructor(
|
class AutoStartReceiver : DaggerBroadcastReceiver() {
|
||||||
private val dummyServiceHelper: DummyServiceHelper
|
|
||||||
) : DaggerBroadcastReceiver() {
|
@Inject lateinit var dummyServiceHelper: DummyServiceHelper
|
||||||
|
|
||||||
override fun onReceive(context: Context, intent: Intent) {
|
override fun onReceive(context: Context, intent: Intent) {
|
||||||
super.onReceive(context, intent)
|
super.onReceive(context, intent)
|
||||||
|
|
Loading…
Reference in a new issue