For the More Curious: Concurrent Documents

If you are running your apps on a Lollipop device, you may have noticed some interesting behavior with respect to CriminalIntent and the overview screen. When you opt to send a crime report from CriminalIntent, the activity for the app you select from the chooser is added to its own separate task rather than to CriminalIntent’s task (Figure 22.15).

Figure 22.15  Gmail launched into separate task

Gmail launched into separate task

On Lollipop, the implicit intent chooser creates a new, separate task for activities launched with the android.intent.action.SEND or action.intent.action.SEND_MULTIPLE actions. (On older ...

Get Android Programming: The Big Nerd Ranch Guide, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.