Skip to content

Instantly share code, notes, and snippets.

@igorescodro
Created October 8, 2021 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igorescodro/cef724905fbc0a2c09bd4c836e8ac100 to your computer and use it in GitHub Desktop.
Save igorescodro/cef724905fbc0a2c09bd4c836e8ac100 to your computer and use it in GitHub Desktop.
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