Class WakeReceiver

java.lang.Object
android.content.BroadcastReceiver
com.aurelienpierre.sioul.WakeReceiver

public final class WakeReceiver extends BroadcastReceiver
The alarm at waking's moments (WakeAlarms): its ring, which starts the ringer at once and gives the next from the list kept, then asks Rust for the wakings as they are now; its look, a little before each ring and as each night starts, which asks Rust after the sync app had its twenty seconds (Sioul may be frozen while another device changed the night); a try ("Try the alarm"), rung the same way and nothing else; Stop and 10 min later; and the phone's own moments: started (before its first unlock, then after), Sioul updated, the time or the zone changed, "Alarms & reminders" allowed again, each giving the alarms again. Rust is asked on a thread of its own, the broadcast held open meanwhile (goAsync) and let go before Android's minute. Read before the first unlock (directBootAware): then the list kept rings, and Rust waits for the unlock.