On Wed, Jul 1, 2009 at 9:10 AM, Zod <[email protected]> wrote:

> When You pass a PendingIntent to the AlarmManager, if there is already
> one with the same Intent already registered the former will be
> canceled and the last will be the active one. Two pending intent is
> the same (in the case of an explicit intent) if the context and the
> target class is the same. Extras do not count. So You can't register
> the same pending intent more than once.


That isn't true.  All of the regular Intent identity is used -- the Intents
are only the same if the action, data, type, categories, and component are
all the same.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to