Jeremy Edwards
Jeremy Edwards

Reputation: 14740

Dropping PendingIntents

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?

Upvotes: 0

Views: 206

Answers (1)

Jim Blackler
Jim Blackler

Reputation: 23169

There is no need to call cancel.

Upvotes: 1

Related Questions