PackageManagerHelperImpl

Implementation of PackageManagerHelper that provides functionality for interacting with the Android Package Manager.

This class is responsible for retrieving application information, such as labels and icons, and handling Samsung-specific features related to icon trays. It also includes caching mechanisms for PackageManager instances to improve performance.

Parameters

context

The application context, used to access system services and resources.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val logTag: String

Functions

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