getLaunchAppIntent

open fun getLaunchAppIntent(packageName: String): Intent

Return the intent of launch app.

Return

the intent of launch app

Parameters

packageName

The name of the package.

open fun getLaunchAppIntent(packageName: String, isNewTask: Boolean): Intent

Return the intent of launch app.

Return

the intent of launch app

Parameters

packageName

The name of the package.

isNewTask

True to add flag of new task, false otherwise.