Enhance data isolation

This commit is contained in:
Nullptr 2022-12-29 16:04:50 +08:00 • committed by Nullptr
commit 348c1c408f
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -36,7 +36,7 @@ val targetSdkVer by extra(33)
val buildToolsVer by extra("33.0.1")
val appVerName by extra("3.0.6")
val serviceVerCode by extra(90)
val serviceVerCode by extra(92)
val minBackupVerCode by extra(65)
val androidSourceCompatibility = JavaVersion.VERSION_11

View file

@ -32,6 +32,7 @@ class ZygoteArgsHook(private val service: HMAService) : IFrameworkHook {
for (app in apps) {
if (service.isHookEnabled(app)) {
param.args[param.args.size - 3] = true // bindMountAppsData
param.args[param.args.size - 2] = true // bindMountAppStorageData
logI(TAG, "@startViaZygote force mount data: $uid $app")
return@hookBefore
}