I'm having nothing but trouble with something that seems pretty basic.

So I have a notification set up so that it launches to my main activity 
with SINGLE_TOP and CLEAR_TOP.  All this works well and I act accordingly 
to the notification.  But what happens is that in the recent app list (if 
you hold down home or on ICS click on task switcher) that intent is now 
the notification intent instead of the typical bring to front your whole 
activity.  For instance, if I launch a new activity from my main task, then 
click home, then go to the recent app list and click it, I get the clear 
top again with my original notification extras.

I've tried every combination of things I can think of to try and get this 
to work with no solution in sight.  No matter what I do, whatever my 
notification parameters and extras are, they are maintained in the recent 
applications.

How can I send a notification intent to my app without it hijacking the 
recent application list?  Btw, if I do the FLAG_ACTIVITY_NO_HISTORY, then 
nothing is in the recent applications.

Any thoughts?

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