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        "act": [
18            {
19                "flags": "FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_RESET_TASK_IF_NEEDED",
20                "class": "android.server.wm.intent.Activities$RegularActivity",
21                "package": "android.server.wm.cts",
22                "startForResult": false
23            }
24        ]
25    },
26    "initialState": {
27        "stacks": [
28            {
29                "tasks": [
30                    {
31                        "activities": [
32                            {
33                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
34                                "state": "RESUMED"
35                            },
36                            {
37                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
38                                "state": "STOPPED"
39                            }
40                        ]
41                    }
42                ],
43                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity"
44            }
45        ]
46    },
47    "endState": {
48        "stacks": [
49            {
50                "tasks": [
51                    {
52                        "activities": [
53                            {
54                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
55                                "state": "RESUMED"
56                            }
57                        ]
58                    },
59                    {
60                        "activities": [
61                            {
62                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
63                                "state": "STOPPED"
64                            }
65                        ]
66                    }
67                ],
68                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity"
69            }
70        ]
71    }
72}
73