1{ 2 "comment": "Verify the SingleInstancePerTask with documentLaunchMode-never Activity can be created in a new task with MULTIPLE_TASK flag", 3 "setup": { 4 "initialIntents": [ 5 { 6 "flags": "FLAG_ACTIVITY_NEW_TASK", 7 "class": "android.server.wm.intent.Activities$SingleInstancePerTaskDocumentNeverActivity", 8 "package": "android.server.wm.cts", 9 "startForResult": false 10 } 11 ], 12 "act": [ 13 { 14 "flags": "FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_MULTIPLE_TASK", 15 "class": "android.server.wm.intent.Activities$SingleInstancePerTaskDocumentNeverActivity", 16 "package": "android.server.wm.cts", 17 "startForResult": false 18 } 19 ] 20 }, 21 "initialState": { 22 "tasks": [ 23 { 24 "activities": [ 25 { 26 "name": "android.server.wm.cts/android.server.wm.intent.Activities$SingleInstancePerTaskDocumentNeverActivity", 27 "state": "RESUMED" 28 } 29 ] 30 } 31 ] 32 }, 33 "endState": { 34 "tasks": [ 35 { 36 "activities": [ 37 { 38 "name": "android.server.wm.cts/android.server.wm.intent.Activities$SingleInstancePerTaskDocumentNeverActivity", 39 "state": "RESUMED" 40 } 41 ] 42 }, 43 { 44 "activities": [ 45 { 46 "name": "android.server.wm.cts/android.server.wm.intent.Activities$SingleInstancePerTaskDocumentNeverActivity", 47 "state": "STOPPED" 48 } 49 ] 50 } 51 ] 52 } 53}