From 6833e56398fd72427311619bbd6250d6f421ce99 Mon Sep 17 00:00:00 2001 From: Wang Han <416810799@qq.com> Date: Sun, 30 Aug 2026 18:36:04 +0800 Subject: [PATCH] Don't kill webview zygote on denylist change It won't restart and make webview unusable. --- native/src/core/deny/utils.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/native/src/core/deny/utils.cpp b/native/src/core/deny/utils.cpp index a52a9365e..1c808b8fc 100644 --- a/native/src/core/deny/utils.cpp +++ b/native/src/core/deny/utils.cpp @@ -182,8 +182,6 @@ static bool add_hide_set(const char *pkg, const char *proc) { if (str_eql(pkg, ISOLATED_MAGIC)) { // Kill all matching isolated processes kill_process<&proc_name_match>(proc, true); - } else if (str_eql(pkg, WEBVIEW_ZYGOTE_MAGIC)) { - kill_process<&proc_context_match>("u:r:webview_zygote:s0", true); } else { kill_process(proc); } @@ -396,9 +394,6 @@ int enable_deny() { kill_process("usap64", true); kill_process<&proc_context_match>("u:r:app_zygote:s0", true); } - if (pkg_to_procs.find(WEBVIEW_ZYGOTE_MAGIC) != pkg_to_procs.end()) { - kill_process<&proc_context_match>("u:r:webview_zygote:s0", true); - } } MagiskD::Get().set_db_setting(DbEntryKey::DenylistConfig, true);