launchPackage
Launches another installed app's launcher activity in a fresh task and waits for its window.
Use it from UiAutomator tests that drive an app they do not instrument.
Parameters
packageName
The app to launch.
timeout
The nonnegative wait budget for the app's window to appear.
Throws
when the app has no launcher activity.
when the app's window does not appear in time.