views:

28

answers:

1

Is it ok to drop PendingIntents in android if they are never used. Such as in an AppWidgetProvider where a PendingIntent that was never used be overwritten by a new PendingIntent.

Or should we call cancel on all unused PendingIntents to clean up memory appropriately?

+1  A: 

There is no need to call cancel.

Jim Blackler