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                "flags": "",
18                "class": "android.server.wm.intent.Activities$TaskAffinity1Activity2",
19                "package": "android.server.wm.cts",
20                "startForResult": false
21            }
22        ],
23        "act": [
24            {
25                "flags": "FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_RESET_TASK_IF_NEEDED",
26                "class": "android.server.wm.intent.Activities$RegularActivity",
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$TaskAffinity1Activity2",
40                                "state": "RESUMED"
41                            },
42                            {
43                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
44                                "state": "STOPPED"
45                            },
46                            {
47                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
48                                "state": "STOPPED"
49                            }
50                        ]
51                    }
52                ],
53                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity2"
54            }
55        ]
56    },
57    "endState": {
58        "stacks": [
59            {
60                "tasks": [
61                    {
62                        "activities": [
63                            {
64                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity",
65                                "state": "RESUMED"
66                            }
67                        ]
68                    },
69                    {
70                        "activities": [
71                            {
72                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity2",
73                                "state": "STOPPED"
74                            },
75                            {
76                                "name": "android.server.wm.cts\/android.server.wm.intent.Activities$TaskAffinity1Activity",
77                                "state": "STOPPED"
78                            }
79                        ]
80                    }
81                ],
82                "resumedActivity": "android.server.wm.cts\/android.server.wm.intent.Activities$RegularActivity"
83            }
84        ]
85    }
86}
87