ChicoState / Smart-Nap

0 stars 2 forks source link

Alarm does not wake phone/app up to notify user #8

Closed cboatsman closed 6 years ago

cboatsman commented 7 years ago

If you set an alarm for a specified time, then that time happens while app is closed or phone is in 'sleep' mode, notification fails to be received until app is reopened. While not a bug per se, it is definitely an issue to address due to the very nature of what an alarm needs to be.

cboatsman commented 6 years ago

Right now the alarm plays a notification, and does pop the dialog up, but doesn't bypass the screen guard. So, a user presently has to enter the keycode to unlock the screen, while the alarm tone is playing, and then they are presented with the dialog activity window.

Instead, we desire to have the dialog window pop up overlaying any keyguard so that a user can interact with the app immediately.

cboatsman commented 6 years ago

Alarm dialog is now accessible (bypassing keyguard), but it does not wake up the phone to show dialog upon alarm notification.

cboatsman commented 6 years ago

Dialog activity now wakes screen up when created. Closing this issue.