Migrate prune_su_access to Rust

This commit is contained in:
topjohnwu
2025-01-11 00:11:48 +08:00
committed by John Wu
parent 5637a258fc
commit 4d4195c02d
12 changed files with 104 additions and 88 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ static void handle_request_async(int client, int code, const sock_cred &cred) {
break;
case +RequestCode::ZYGOTE_RESTART:
LOGI("** zygote restarted\n");
prune_su_access();
MagiskD().prune_su_access();
scan_deny_apps();
reset_zygisk(false);
close(client);