Open UPBT opened 1 year ago
This bug can somewhat be reproduced in a different way.
If an alarm goes off and you press home, the alarm will continue going off in the background. If you clear the notification away it will be impossible to stop the alarm at that point barring one way. The one way to stop the alarm is to close the clock app from recents. Doing this prevents the next alarm from being scheduled and you'll have to disable and enable the alarm.
The notification for the alarm should prolly changed to an "Ongoing" notification.
I think I found the issue.
The function snoozeAlarm() does not handle the case of the "Missed Alarm" in the else block (lines 274 - 281) shown below. In the case of the "Missed Alarm" the user does nothing when the dialog appears.
Steps to reproduce
Expected behavior: Alarm goes off as programmed
Work Around any alarm disabled by this action can be re-enabled by unchecking and rechecking the "enable" checkbox. There is absolutely no indication that the alarm is disabled except when it does not go off as scheduled, so a user is expected to remember that they missed an alarm and must reset the alarm manually.
App version 5.10.3 on Android 10 via F-droid