PackageManagerHelper

A helper interface that provides utility methods to interact with the PackageManager. This can be implemented by different classes to provide platform-specific implementations.

Inheritors

Functions

Link copied to clipboard
abstract fun getActivityIcon(packageName: String, activityName: String, userId: Int): Drawable?
Link copied to clipboard
abstract fun getAppLabel(appInfo: AppInfo): String
Link copied to clipboard
abstract fun getApplicationIcon(packageName: String, userId: Int): Drawable?
Link copied to clipboard
abstract fun getEmptyIcon(): Drawable
Link copied to clipboard
abstract fun resizeDrawable(drawable: Drawable): Drawable
Link copied to clipboard
abstract fun semGetActivityIconForIconTray(packageName: String, activityName: String, mode: Int, userId: Int): Drawable?
Link copied to clipboard
abstract fun semGetApplicationIconForIconTray(packageName: String, mode: Int, userId: Int): Drawable?