Inject zygisk.rc for sync --zygisk-restart

This commit is contained in:
LoveSy
2023-11-06 15:39:48 -08:00
committed by topjohnwu
parent 577483fde1
commit 42eb928054
2 changed files with 94 additions and 54 deletions

View File

@@ -141,10 +141,10 @@ static void handle_request_async(int client, int code, const sock_cred &cred) {
su_daemon_handler(client, &cred);
break;
case MainRequest::ZYGOTE_RESTART:
close(client);
LOGI("** zygote restarted\n");
pkg_xml_ino = 0;
prune_su_access();
close(client);
break;
case MainRequest::SQLITE_CMD:
exec_sql(client);