Search code examples
androidalarmmanagerandroid-pendingintentandroid-developer-api

Can my pendingIntent in AlarmManager be deleted or canceled by the system?


can the system in android delete or cancel my PendingIntent I send to AlarmManager intentionally i.e. for free up resources?


Solution

  • No. Android won't cancel or delete scheduled alarms to free up resources. Be aware that alarms are not persistent across device reboots.

    NOTE: I answered this so we can get it off the "open questions" list.