Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
internal class MyBroadcastReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
when (intent.action) {
AlarmManager.ACTION_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED -> {
// reschedule all the exact alarms
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment