Fix /data/data hide on Android 11

This commit is contained in:
Nullptr 2022-08-25 14:09:04 +08:00
commit 3189a2da86
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ val minSdkVer by extra(24)
val targetSdkVer by extra(33)
val appVerName by extra("3.0.0-Beta")
val serviceVerCode by extra(83)
val serviceVerCode by extra(84)
val minBackupVerCode by extra(65)
val androidSourceCompatibility = JavaVersion.VERSION_11

View file

@ -118,7 +118,7 @@ class HMAService(val pms: IPackageManager) : IHMAService.Stub() {
} else {
frameworkHooks.add(PmsHookLegacy(this))
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
frameworkHooks.add(ZygoteArgsHook(this))
}