fennifith / Alarmio

A simple alarm clock focused on design, readability, and internet radio.
https://play.google.com/store/apps/details?id=me.jfenn.alarmio
Apache License 2.0
336 stars 95 forks source link

AlarmActivity in recent apps can be launched #96

Closed neekless closed 4 years ago

neekless commented 4 years ago

Steps to Reproduce

Users who dismissed their alarm can cause the alarm to ring again if they accidentally launch the AlarmActivity from recent apps long after the alarm was supposed to trigger.

Solution

Add android:excludeFromRecents="true" to me.jfenn.alarmio.activities.AlarmActivity in AndroidManifest.xml

Video of what I mean (no audio in this video but it does ring in real life): https://drive.google.com/open?id=11mPhdivZFsaRylrYeRdrjijL6yewFD-s

I have modified AndroidManifest.xml locally to include the solution and indeed AlarmActivity won't show in recents anymore. This is also the behavior of AOSP Clock.

fennifith commented 4 years ago

Thank you for the detailed issue report! I'll have that fixed in the next version :)