launchTargetApp

Launches the instrumented app's launcher activity in a fresh task.

Use it in a test that instruments the app under test; close the scenario when done.

Return

The scenario for the launched activity.

Throws

when the app has no launcher activity.