Thanks to TasKiller
I have reliable way to shutdown updates coming to my AppWidget
from the AlarmManager
!
Now, sarcasm aside, how do I recover from such event? So far I only see that the Alerts
are resurrected only after rebooting the phone.
I can stick recovery code into few places such as various Activity#onCreate
that belong to my app and my widget but is there a better way?
Also what if the alerts are OK - is there a way to detect that and not run AlarmManager#setRepeating
?
Or is there a harm to run it multiple times?