• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "comment": "Verify that a new task should not be created when the DocumentLaunchNeverActivity was started, even if the Intent contains FLAG_ACTIVITY_NEW_DOCUMENT and FLAG_ACTIVITY_MULTIPLE_TASK",
3    "setup": {
4        "initialIntents": [
5            {
6                "flags": "FLAG_ACTIVITY_NEW_TASK",
7                "class": "android.server.wm.intent.Activities$RegularActivity",
8                "package": "android.server.wm.cts",
9                "startForResult": false
10            }
11        ],
12        "act": [
13            {
14                "flags": "FLAG_ACTIVITY_NEW_DOCUMENT | FLAG_ACTIVITY_MULTIPLE_TASK",
15                "class": "android.server.wm.intent.Activities$DocumentLaunchNeverActivity",
16                "package": "android.server.wm.cts",
17                "startForResult": false
18            }
19        ]
20    },
21    "initialStates": [
22        {
23            "tasks": [
24                {
25                    "activities": [
26                        {
27                            "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
28                            "state": "RESUMED"
29                        }
30                    ]
31                }
32            ],
33            "launchedWindowingMode": "WINDOWING_MODE_UNDEFINED"
34        }
35    ],
36    "endStates": [
37        {
38            "tasks": [
39                {
40                    "activities": [
41                        {
42                            "name": "android.server.wm.cts/android.server.wm.intent.Activities$DocumentLaunchNeverActivity",
43                            "state": "RESUMED"
44                        },
45                        {
46                            "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity",
47                            "state": "STOPPED"
48                        }
49                    ]
50                }
51            ],
52            "launchedWindowingMode": "WINDOWING_MODE_UNDEFINED"
53        }
54    ]
55}