Root Installer Fix v9001
This commit is contained in:
parent
685cdeed17
commit
55ed8ab8fd
|
@ -30,7 +30,7 @@ import kotlin.collections.HashMap
|
||||||
object PackageHelper {
|
object PackageHelper {
|
||||||
|
|
||||||
private const val apkInstallPath = "/data/adb/Vanced/"
|
private const val apkInstallPath = "/data/adb/Vanced/"
|
||||||
private const val ypkg = "com.google.android.youtube"
|
private const val yPkg = "com.google.android.youtube"
|
||||||
fun isPackageInstalled(packageName: String, packageManager: PackageManager): Boolean {
|
fun isPackageInstalled(packageName: String, packageManager: PackageManager): Boolean {
|
||||||
return try {
|
return try {
|
||||||
packageManager.getPackageInfo(packageName, 0)
|
packageManager.getPackageInfo(packageName, 0)
|
||||||
|
|
Loading…
Reference in New Issue