mirror of
https://github.com/dzeiocom/OpenHealth.git
synced 2025-04-24 03:42:13 +00:00
18 lines
510 B
Kotlin
18 lines
510 B
Kotlin
package com.dzeio.openhealth.services
|
|
|
|
import android.annotation.SuppressLint
|
|
import android.content.BroadcastReceiver
|
|
import android.content.Context
|
|
import android.content.Intent
|
|
import android.util.Log
|
|
|
|
class BroadcastReceiver : BroadcastReceiver() {
|
|
@SuppressLint("UnsafeProtectedBroadcastReceiver")
|
|
override fun onReceive(context: Context?, intent: Intent?) {
|
|
context?.let {
|
|
WaterReminderService.setup(it)
|
|
Log.d("OpenHealth/BR", "Scheduled Jobs!")
|
|
}
|
|
}
|
|
|
|
} |