PackageInfoCompat
Helper for accessing features in PackageInfo.
Functions
Link copied to clipboard
Return versionCode and versionCodeMajor combined together as a single long value.
Link copied to clipboard
@NonNull
Retrieve the Signature array for the given package.
Link copied to clipboard
open fun hasSignatures(@NonNull packageManager: @NonNull PackageManager, @NonNull packageName: @NonNull String, @Size(min = 1) @NonNull certificatesAndType: @NonNull Map<Array<Byte>, Integer>, matchExact: Boolean): Boolean
Check if a package on device contains set of a certificates.