My bad.

I've found the relevant "equals" code in the source.

Marius try the requestCode as iPaul Pro suggested, it also makes two
pending intents different (with .equals()) so it won't get removed by
AlarmManager.

On Jul 1, 6:26 pm, Dianne Hackborn <hack...@android.com> wrote:
> On Wed, Jul 1, 2009 at 9:10 AM, Zod <zsolt.ba...@gmail.com> 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
> hack...@android.com
>
> 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.

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

Reply via email to