I've got a service that I run every 30 minutes via AlarmManager.RTC
. If the device is asleep long enough for the service to be called twice (and thus have both of them be rescsheduled), when it wakes up, it fires off the service twice at once.
The desired behavior is for the AlarmManager
to just fire off one Intent
when it wakes up. How can I accomplish this?