Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alarms reboot #653

Merged
merged 9 commits into from
Nov 22, 2022
Merged

alarms reboot #653

merged 9 commits into from
Nov 22, 2022

Conversation

forrestguice
Copy link
Owner

@forrestguice forrestguice commented Nov 22, 2022

  • SuntimesAlarms activity now reschedules all alarms if boot_completed has failed to run.
  • AlarmNotificationService now reschedules all alarms after app upgrades (android.intent.action.ACTION_MY_PACKAGE_REPLACED broadcast).
  • adds a foreground service notification while rescheduling all alarms (shown during boot_completed, and timezone_changed).
  • adds "Boot Completed" to the Alarm Settings; shows reboot information and manually triggers "reschedule all".
  • AlarmNotificationService onScheduled_* events now broadcast update_ui (forces running apps to update their UI).

Adds "Boot Completed" to Alarm Settings; shows reboot information and manually triggers "reschedule all".
reschedule all items if boot completed has failed to run
onScheduled_* sends update_ui broadcast
show foreground notification while rescheduling all alarms (boot_completed, timezone_changed)
listen for `android.intent.action.ACTION_MY_PACKAGE_REPLACED` broadcast and reschedule all alarms
avoid showing boot_completed foreground notification if no items were rescheduled
newApi
@forrestguice forrestguice merged commit e937ed7 into master Nov 22, 2022
@forrestguice forrestguice mentioned this pull request Nov 22, 2022
@forrestguice forrestguice deleted the alarms-reboot branch February 1, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant