Single instance activities

46 views
Skip to first unread message

Ethan

unread,
Jul 5, 2012, 12:16:49 AM7/5/12
to Cornerstone Development
I'm new to cornerstone and just started looking at its code and
wondering how single instance activities are handled across panels?

Something like Activity A (single instance) running in Panel 1 and
Activity B (standard) running in Panel 2 and has a button to launch
Activity A.

Now, if the user clicks the button on Activity B to launch Activity
A, how does cornerstone handle it?

If i remember, in case of default stack of am, the task affinity of
activity A is changed.

onhsnm

unread,
Jul 5, 2012, 2:03:35 PM7/5/12
to corners...@googlegroups.com

This is handled in the ActivityManagerService, you can search for the cornerstone specific code and see the logic that restricts this case you describe from happening.
Reply all
Reply to author
Forward
0 new messages