-
-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alarm won't go off after restart of the device (screen locked state) #398
Comments
Hello @lune856 , I am sorry that you have had an issue with the app. Could you please help me to find the root cause? If you are willing to help:
|
Neverming, I was able to reproduce this.
|
Hi Yuriykulikov, thanks for your prompt message. I'm out of town for a few days but we'll check the codes simultaneously to see if there's anything I can contribute. Thanks! |
Any update on this? |
Support Direct Boot mode
Android 7.0+ runs in a secure, Direct Boot mode when the device has been powered on but the user has not unlocked the device.
Normal apps are not launched until the user unlocks the device. If your app needs to access data while running in Direct Boot mode, use device encrypted storage.
Support Direct Boot mode on developer.android.com
Concept
User interaction is limited to Alerts and Notifications when the device is locked. To support direct mode we can save some date to device storage and use it when device is booted locked to scheduler alarms.
Describe the bug
Upon testing with the most current version of the app (3.07.00) the alarm won't work if the device is restarted and the phone is not unlocked (i.e No pattern or pin was entered to properly unlock and boot the device)
This can be an issue if a user scheduled a system update while asleep and the device was in a lock status.
When tested with Android's built-in clock app (https://play.google.com/store/apps/details?id=com.google.android.deskclock), the alarm would still go off when the device was restarted and the user has not unlocked the device.
To Reproduce
Describe the steps to reproduce the behavior:
Expected and observed behavior
The alarm should still work even when the device is restarted and the user has not entered the system
Screenshots
N/A
Logs
N/A
The text was updated successfully, but these errors were encountered: