Package com.aurelienpierre.sioul
Class WakeReceiver
java.lang.Object
android.content.BroadcastReceiver
com.aurelienpierre.sioul.WakeReceiver
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class android.content.BroadcastReceiver
BroadcastReceiver.PendingResult -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class android.content.BroadcastReceiver
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, getSentFromPackage, getSentFromUid, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
-
Field Details
-
DEADLINE_MS
- See Also:
-
-
Constructor Details
-
WakeReceiver
public WakeReceiver()
-
-
Method Details
-
onReceive
- Specified by:
onReceivein classBroadcastReceiver
-
ask
Rust asked, on a thread of its own, the broadcast held open until it answers or Android's deadline nears.
-