getPackageInfoCompat

fun PackageManager.getPackageInfoCompat(packageName: String, flags: Int): PackageInfo