The issue.
I've just experienced the dreaded alarm self-snoozing itself issue again, yet this time managed to catch it on logcat and find out what triggers the snooze. Seems like the screen going off is interpreted by the alarm as snooze press!!! For some reason, sometimes, but not always, the screen goes off during the alarm just mere seconds after it starts ringing, and that's what snoozes it off.
Potential fix/workaround.
I've bypassed the onReceive methods in the 3 broadcast receivers that receive the screen off notifications to see if this solves the problem and if it got any serious negative side effects. Since the issue isn't reproducible 'on demand', i'll upload a patcher in the second post, with instructions, and expecting the thread readers cooperations. Currently the only (obvious) side effect i've found is being unable to snooze the alarm by pressing the power button.
PS: Ideas? Suggestions? Feedbacks?
PPS: Uploading patch.
I've just experienced the dreaded alarm self-snoozing itself issue again, yet this time managed to catch it on logcat and find out what triggers the snooze. Seems like the screen going off is interpreted by the alarm as snooze press!!! For some reason, sometimes, but not always, the screen goes off during the alarm just mere seconds after it starts ringing, and that's what snoozes it off.
Potential fix/workaround.
I've bypassed the onReceive methods in the 3 broadcast receivers that receive the screen off notifications to see if this solves the problem and if it got any serious negative side effects. Since the issue isn't reproducible 'on demand', i'll upload a patcher in the second post, with instructions, and expecting the thread readers cooperations. Currently the only (obvious) side effect i've found is being unable to snooze the alarm by pressing the power button.
PS: Ideas? Suggestions? Feedbacks?
PPS: Uploading patch.
Last edited: