On Wed, Oct 7, 2009 at 2:00 AM, Amitkeerti <amitkee...@gmail.com> wrote:

> From your response I understand the following:
> If the activity instance was created in a task for which it did not
> have an affinity and lets assume that this task goes in the
> background. After some time when the task comes back in the
> foreground, the activity would have been pushed out of the task (as it
> had a different affinity).
> In this case where will it reside if it has been pushed out ? would it
> reside in a new task created specifically to hold the pushed out task?
>

It will just be moved to the task it has an affinity for.  If that task
doesn't yet exist, a new "stub" task for it is created that will be fully
realized the first time the user launches that task.

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

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