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