Мади Садык
Мади Садык

Reputation: 1

Where the data of the created PendingIntent is stored?

The PendingIntent I posted survived an app reinstallation, I wonder where has it been all this time?

Upvotes: 0

Views: 42

Answers (1)

ΓDΛ
ΓDΛ

Reputation: 11060

A PendingIntent itself is simply a reference to a token maintained by the system describing the original data used to retrieve it. This means that, even if its owning application's process is killed, the PendingIntent itself will remain usable from other processes that have been given it. If the creating application later re-retrieves the same kind of PendingIntent (same operation, same Intent action, data, categories, and components, and same flags), it will receive a PendingIntent representing the same token if that is still valid

Upvotes: 1

Related Questions