Open secretmango opened 10 months ago
I looked into this a bit when the feature was first added to android. The big issue with respect to this app is that media isn't available before the initial unlock either. Since the app uses the android media player to play alarm noises, there's no way to actually generate an alarm sound without getting through the initial boot unlock. The screen could light up, but that wouldn't be very useful. There are a restricted set of built-in sounds that could be used (which is what I imagine the default android alarm does), but that would be a fairly invasive re-write of alarm code and I never put in the time to try...
thats fair. I imagine this requirement being pretty restrictive.
Would something like "use the default alarm sound if nothing else is configured" work?
I tried 2.11 from F-Droid.
The stock AOSP clock supports showing the alarm on top of the first login screen, this is called direct boot.
More info here
GrapheneOS has auto-reboot as a security method, as a reboot clears the encryption keys from RAM. This happens when the device is not unlocked for x hours, for example at night.
Also it (and hopefully other android versions) had automatic system updates with automatic reboot, here this alarm klock would then also not display.
Could be useful to implement.