From cf8364b0e49119ecd1a4c19766b718990797630c Mon Sep 17 00:00:00 2001 From: fengyuecanzhu <1021300691@qq.com> Date: Sun, 24 Apr 2022 19:50:58 +0800 Subject: [PATCH] remove old --- .../main/java/xyz/fycz/dynamic/AppLoadImpl.kt | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt b/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt index 349e4ae..20e2dee 100644 --- a/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt +++ b/dynamic/src/main/java/xyz/fycz/dynamic/AppLoadImpl.kt @@ -86,30 +86,4 @@ class AppLoadImpl : IAppLoader { } } } - - /*fun noAd(appParam: AppParam) { - try { - MapleUtils.findAndHookMethod( - "xyz.fycz.myreader.util.utils.AdUtils", - appParam.classLoader, - "checkHasAd", - Boolean::class.java, - Boolean::class.java, - object : MethodReplacement() { - override fun replaceHookedMethod(param: MapleBridge.MethodHookParam): Any? { - val just = MapleUtils.findMethodExact( - "io.reactivex.Single", - appParam.classLoader, - "just", - Any::class.java - ) - return just.invoke(null, false) - } - } - ) - } catch (e: Exception) { - e.printStackTrace() - MapleUtils.log(e) - } - }*/ } \ No newline at end of file