Hi,

I'm not 100% sure if this is a bug or it's the expected behaviour, but
I didn't find anything about it in the docs.

When an activity is started by an ACTION_SEND intent coming from the
system, foreground dispatch doesn't work as expected. Instead of
calling the onNewIntent() function of the existing activity when a tag
is presented, it creates a new one, even though the "singleTop" flag
has been set.

As a workaround, one can use the "singleInstance" flag for that
activity which makes foreground dispatch work as expected.

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