1{
2    "setup": {
3        "initialIntents": [
4            {
5                "flags": "FLAG_ACTIVITY_NEW_TASK",
6                "class": "android.server.wm.intent.Activities$RegularActivity",
7                "package": "android.server.wm.cts",
8                "startForResult": false
9            },
10            {
11                "flags": "",
12                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity",
13                "package": "android.server.wm.cts",
14                "startForResult": false
15            },
16            {
17                "flags": "",
18                "class": "android.server.wm.intent.Activities$RegularActivity",
19                "package": "android.server.wm.cts",
20                "startForResult": false
21            }
22        ],
23        "act": [
24            {
25                "flags": "FLAG_ACTIVITY_CLEAR_TOP",
26                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity",
27                "package": "android.server.wm.cts",
28                "startForResult": false
29            }
30        ]
31    },
32    "initialState": {
33        "tasks": [
34            {
35                "activities": [
36                    {
37                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
38                        "state": "RESUMED"
39                    },
40                    {
41                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity",
42                        "state": "STOPPED"
43                    },
44                    {
45                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
46                        "state": "STOPPED"
47                    }
48                ]
49            }
50        ]
51    },
52    "endState": {
53        "tasks": [
54            {
55                "activities": [
56                    {
57                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity",
58                        "state": "RESUMED"
59                    },
60                    {
61                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
62                        "state": "STOPPED"
63                    }
64                ]
65            }
66        ]
67    }
68}