I have an activity that shows a message custom dialog class (which inherits from Dialog) alerting the user if there has been a timeout or power loss on the device. The activity also makes calls to the alarm manager to schedule tasks.
If the dialog is showing, does it prevent the alarm manager from sending broadcasts? I looked at this answer, and I am still not sure. The official Google documentation says that a dialog retains focus and can interrupt the rest of the code. I also have a couple of handlers running on this activity, too. Does the appearance of a dialog stop the execution of them?