{ "setup": { "initialIntents": [ { "flags": "FLAG_ACTIVITY_NEW_TASK", "class": "android.server.wm.intent.Activities$RegularActivity", "package": "android.server.wm.cts", "startForResult": false }, { "flags": "", "class": "android.server.wm.intent.Activities$TaskAffinity1Activity", "package": "android.server.wm.cts", "startForResult": true } ], "act": [ { "flags": "FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_RESET_TASK_IF_NEEDED", "class": "android.server.wm.intent.Activities$RegularActivity", "package": "android.server.wm.cts", "startForResult": false } ] }, "initialState": { "tasks": [ { "activities": [ { "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity", "state": "RESUMED" }, { "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity", "state": "STOPPED" } ] } ] }, "endState": { "tasks": [ { "activities": [ { "name": "android.server.wm.cts/android.server.wm.intent.Activities$TaskAffinity1Activity", "state": "RESUMED" }, { "name": "android.server.wm.cts/android.server.wm.intent.Activities$RegularActivity", "state": "STOPPED" } ] } ] } }