gabeg805 / NFC-Alarm-Clock

An NFC Alarm Clock app for Android.
GNU General Public License v3.0
17 stars 4 forks source link

Support Direct Boot #10

Open secretmango opened 6 months ago

secretmango commented 6 months ago

More info in this comment

Some clocks like the AOSP one or new-clock support direct boot.

This is relevant on GrapheneOS with automatic reboot, or when OS updates cause an immediate reboot. This is normally no problem, unless an alarm clock then stops working.

Rebooting clears the encryption key from RAM which may be wanted.

gabeg805 commented 2 months ago

I just implemented this, but I still need to test it. If all goes well, it will be in the next release.