Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite hook for force mount data #297

Merged
merged 2 commits into from
Oct 1, 2024
Merged

Rewrite hook for force mount data #297

merged 2 commits into from
Oct 1, 2024

Conversation

aviraxp
Copy link
Contributor

@aviraxp aviraxp commented Oct 1, 2024

No description provided.

The previous hook point is for startViaZygote(), but the logic in
ProcessList.java to determine whether a process is safe to apply
force mount is complex, and current implementation has already
caused issues. Change the hook point to PlatformCompat and force
return true for all sdk level, then we can let system server apply
the correct logic.

Vold app data isolation does not have sdk level check, so don't
touch it, unlink current code.
@Dr-TSNG Dr-TSNG merged commit 88f82c9 into Dr-TSNG:master Oct 1, 2024
1 check failed
privacyguy123 pushed a commit to privacyguy123/Hide-My-Applist that referenced this pull request Oct 2, 2024
* Update dependencies

* Rewrite hook for force mount data

The previous hook point is for startViaZygote(), but the logic in
ProcessList.java to determine whether a process is safe to apply
force mount is complex, and current implementation has already
caused issues. Change the hook point to PlatformCompat and force
return true for all sdk level, then we can let system server apply
the correct logic.

Vold app data isolation does not have sdk level check, so don't
touch it, unlink current code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants