Fix issue where services version >9 was not configurable
This commit is contained in:
@@ -43,7 +43,7 @@ object PackageUtil {
|
||||
return try {
|
||||
val packageInfo = getPackageInfo(context, packageName)
|
||||
if (packageInfo != null) {
|
||||
return versionCode == packageInfo.versionCode
|
||||
return packageInfo.versionCode >= versionCode
|
||||
}
|
||||
true
|
||||
} catch (e: PackageManager.NameNotFoundException) {
|
||||
|
||||
Reference in New Issue
Block a user