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": "FLAG_ACTIVITY_NEW_TASK",
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                "flags": "FLAG_ACTIVITY_REORDER_TO_FRONT",
24                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity",
25                "package": "android.server.wm.cts",
26                "startForResult": false
27            }
28        ],
29        "act": [
30            {
31                "flags": "FLAG_ACTIVITY_NEW_TASK",
32                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity2",
33                "package": "android.server.wm.cts",
34                "startForResult": false
35            }
36        ]
37    },
38    "initialState": {
39        "stacks": [
40            {
41                "tasks": [
42                    {
43                        "activities": [
44                            {
45                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
46                                "state": "RESUMED"
47                            },
48                            {
49                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
50                                "state": "STOPPED"
51                            }
52                        ]
53                    }
54                ],
55                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity"
56            },
57            {
58                "tasks": [
59                    {
60                        "activities": [
61                            {
62                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
63                                "state": "STOPPED"
64                            }
65                        ]
66                    }
67                ]
68            }
69        ]
70    },
71    "endState": {
72        "stacks": [
73            {
74                "tasks": [
75                    {
76                        "activities": [
77                            {
78                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity2",
79                                "state": "RESUMED"
80                            },
81                            {
82                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
83                                "state": "STOPPED"
84                            },
85                            {
86                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
87                                "state": "STOPPED"
88                            }
89                        ]
90                    }
91                ],
92                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity2"
93            },
94            {
95                "tasks": [
96                    {
97                        "activities": [
98                            {
99                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
100                                "state": "STOPPED"
101                            }
102                        ]
103                    }
104                ]
105            }
106        ]
107    }
108}
109