Repository navigation
v2.5.7: Fix Orphaned Alarm on Schedule Edit #87 and Alarm Lifecycle Safeguards #88
saad2134
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v2.5.7: Fix Orphaned Alarm on Schedule Edit (#87) and Alarm Lifecycle Safeguards
Summary of Changes
Release v2.5.7 resolves an orphaned Android
AlarmManagerleak that could cause obsolete alarms to sound after modifying a medication's scheduled dose time (#87), introduces defensive filtering inMedicineAlarmReceiverto discard alarms for deleted or non-pending entries, and hardens background alarm lifecycles across Android 8 through Android 16.📱 Patient App (Android)
MedicineRepository.updateMedicine()where obsolete untaken schedule entries were deleted from Room SQLite beforecancelAlarmsForMedicine()was invoked.AlarmManagerwhile their schedule records still exist in the database, preventing orphaned alarm clock registrations and phantom wakeups.MedicineAlarmReceiver:PENDING.MedicineRepositoryAlarmLifecycleTestto strictly verify and enforce that alarm cancellation precedes database row deletion during schedule updates.Dosezy • Name), making multi-profile medication monitoring clear at a glance.🔍 Full Changelog & Compare
Compare v2.5.6...v2.5.7
This discussion was created from the release v2.5.7: Fix Orphaned Alarm on Schedule Edit #87 and Alarm Lifecycle Safeguards.
All reactions