1{ 2 "comment": "Verify that a regular activity can be launched on the same task of a singleInstancePerTask activity", 3 "setup": { 4 "initialIntents": [ 5 { 6 "flags": "FLAG_ACTIVITY_NEW_TASK", 7 "class": "android.server.wm.intent.Activities$SingleInstancePerTaskActivity", 8 "package": "android.server.wm.cts", 9 "startForResult": false 10 } 11 ], 12 "act": [ 13 { 14 "flags": "FLAG_ACTIVITY_NEW_TASK", 15 "class": "android.server.wm.intent.Activities$RegularActivity", 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$SingleInstancePerTaskActivity", 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$RegularActivity", 39 "state": "RESUMED" 40 }, 41 { 42 "name": "android.server.wm.cts/android.server.wm.intent.Activities$SingleInstancePerTaskActivity", 43 "state": "STOPPED" 44 } 45 ] 46 } 47 ] 48 } 49}