9. Sample use cases
● Open tabs in a web browser
● Documents in a productivity app
● Concurrent matches in a game
● Chats in a messaging app
● Flight/hotel searches in a travel app
10. How to use this?
Intent intent = new Intent(this,RoomMapActivity.class);
intent.putExtra(RoomMapActivity.ROOM, roomId);
intent.addFlags(android.content.Intent.FLAG_ACTIVITY_NEW_DOCUMENT)
startActivity(intent);
11. Breaking changes
● ActivityManager.getRecentTasks() is deprecated for privacy
reasons.
Some
of the tasks will still return
● ActivitiyManager.getAppTasks() added for app’s own tasks