Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Commit e5f4e12

Browse files
committed
Document workaround caveat
1 parent 378a960 commit e5f4e12

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ On Android 10+ a service can declare `android:useAppZygote="true"` together with
1010

1111
The hook is on `com.android.server.am.ProcessList#startProcessLocked` inside `system_server`. When the target process is being hosted by App Zygote and its package is in the deny list, the hook reports the process-start request as accepted but skips the actual fork. The caller's `Context.bindIsolatedService(...)` can resolve to `true`, but no service connection arrives. The `ZygotePreload` callback never runs in `app_zygote`.
1212

13+
> Note: This is not a fix, it's just a tricky workaround that tries to mimic a known behavior of optimization implemented by some other manufacturers, at cost of diverging from normal behavior of AOSP.
14+
1315
System packages cannot be added to the deny list. The module's own package is always denied and cannot be unchecked, so the built-in tester can verify that the hook is blocking `useAppZygote` binds for the host.
1416

1517
## References

0 commit comments

Comments
 (0)