getAppIcon

open fun getAppIcon(): Drawable

Return the application's icon.

Return

the application's icon

open fun getAppIcon(packageName: String): Drawable

Return the application's icon.

Return

the application's icon

Parameters

packageName

The name of the package.