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        "stacks": [
34            {
35                "tasks": [
36                    {
37                        "activities": [
38                            {
39                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
40                                "state": "RESUMED"
41                            }
42                        ]
43                    }
44                ],
45                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity"
46            },
47            {
48                "tasks": [
49                    {
50                        "activities": [
51                            {
52                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
53                                "state": "STOPPED"
54                            },
55                            {
56                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
57                                "state": "STOPPED"
58                            }
59                        ]
60                    }
61                ]
62            }
63        ]
64    },
65    "endState": {
66        "stacks": [
67            {
68                "tasks": [
69                    {
70                        "activities": [
71                            {
72                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
73                                "state": "RESUMED"
74                            }
75                        ]
76                    }
77                ],
78                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity"
79            },
80            {
81                "tasks": [
82                    {
83                        "activities": [
84                            {
85                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
86                                "state": "STOPPED"
87                            },
88                            {
89                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
90                                "state": "STOPPED"
91                            }
92                        ]
93                    }
94                ]
95            }
96        ]
97    }
98}
99