On Fri, Aug 7, 2009 at 1:12 PM, SR <[email protected]> wrote:

> The only meaning I was equipped with was one given by the
> documentation of PendingIntent.  I think adding a little paragraph to
> the top of that class's documentation talking about the role of
> requestCode would help.


This is actually just a general Intent thing -- if you make a subclass of
Intent and pass it to pretty much any system API, your subclass is going to
be lost as it moves across processes.  One could argue that Intent itself
should be final, but I am loath to make things final when they don't
absolutely have to be, and end up in annoying situations like String.  (And
anyway, the SDK is published, so it is too late to make any of these APIs
final anyway.)

-- 
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