I am unable to receive the BOOT_COMPLETED broadcast on my Sony Xperia SP (C5503 Android 4.3) device.
The following are the methods I used to try to trigger the BOOT_COMPLETED broadcast
- Select Power off from the power menu, wait till the phone goes off and then turn it back on.
- Forced power off by pressing the reset button (Xperia SP uses an internal battery).
- Select Reboot from the reboot menu in Link2SD.
Is there something that could be preventing me from receiving the broadcast?
below is a simplified version of the flow I am trying to implement.
Start
|
┌-----┤
| ↓
| Broadcast
| Receive
| |
| ↓
| Delete
| File
| |
└-----┘
As an alternative, is there a block that will stop the flow until the device is restarted?
Specifically, I am looking for something that will pause until the
"Resumed after restart" message is written in the log.