1{
2    "setup": {
3        "initialIntents": [
4            {
5                "flags": "FLAG_ACTIVITY_NEW_TASK",
6                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity",
7                "package": "android.server.wm.cts",
8                "startForResult": false
9            },
10            {
11                "flags": "",
12                "class": "android.server.wm.intent.Activities$RegularActivity",
13                "package": "android.server.wm.cts",
14                "startForResult": false
15            },
16            {
17                "flags": "FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK",
18                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity",
19                "package": "android.server.wm.cts",
20                "startForResult": false
21            }
22        ],
23        "act": [
24            {
25                "flags": "FLAG_ACTIVITY_NEW_DOCUMENT",
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$TaskAffinity1Activity",
38                        "state": "RESUMED"
39                    }
40                ]
41            },
42            {
43                "activities": [
44                    {
45                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
46                        "state": "STOPPED"
47                    },
48                    {
49                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity",
50                        "state": "STOPPED"
51                    }
52                ]
53            }
54        ]
55    },
56    "endState": {
57        "tasks": [
58            {
59                "activities": [
60                    {
61                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity",
62                        "state": "RESUMED"
63                    }
64                ]
65            },
66            {
67                "activities": [
68                    {
69                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
70                        "state": "STOPPED"
71                    },
72                    {
73                        "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity",
74                        "state": "STOPPED"
75                    }
76                ]
77            }
78        ]
79    }
80}