Yes the documentation is out of date, it got renamed to finishOnTaskLaunch.

On Thu, Dec 11, 2008 at 7:57 AM, Adam K <a...@everythingandroid.net> wrote:

> ping!  is the documentation out of date?  or am i not understanding how to
> use finishOnBackground?
>
>
> On Mon, Dec 8, 2008 at 2:48 PM, Adam K <a...@everythingandroid.net> wrote:
>
>>
>> Hi all,
>>
>> I want to do the following for a notification type activity that
>> should be removed/closed from the system either via a button in the
>> activity, or the user leaving with back or home:
>>
>> from - http://code.google.com/android/intro/appmodel.html
>> Another approach you can take is to set the notification activity's
>> task affinity to the empty string "" (indicating no affinity) and
>> setting the finishOnBackground attribute. ... By specifying this
>> attribute, the activity will be finished whether the user leaves it
>> with BACK or HOME; if the attribute isn't specified, pressing HOME
>> will result in the activity and its task remaining in the system,
>> possibly with no way to return to it.
>>
>> However, I don't see any other references in the docs to
>> finishOnBackground - the link on that page takes me to
>> finishOnTaskLaunch instead.  Any ideas?
>>
>> Thanks,
>>
>> Adam
>>
>>
>>
>
> >
>


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