From 050f9ff1539a93c20feb2b7093e42f973a511e61 Mon Sep 17 00:00:00 2001 From: areteruhiro <108941410+areteruhiro@users.noreply.github.com> Date: Sat, 28 Sep 2024 14:23:26 +0900 Subject: [PATCH] Update RemoveAds.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 検出を厳密に --- .../java/io/github/chipppppppppp/lime/hooks/RemoveAds.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/github/chipppppppppp/lime/hooks/RemoveAds.java b/app/src/main/java/io/github/chipppppppppp/lime/hooks/RemoveAds.java index 0fd6aff5..0618d7a3 100644 --- a/app/src/main/java/io/github/chipppppppppp/lime/hooks/RemoveAds.java +++ b/app/src/main/java/io/github/chipppppppppp/lime/hooks/RemoveAds.java @@ -82,8 +82,8 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable { String className = view.getClass().getName(); - if (className.contains("Ad") || className.contains("ad")) { - XposedBridge.log("Detected Ad View: " + className); + if (className.contains("Ad") ) { + if (!adClassNames.contains(className)) {