From e8ee79b6cd944fca654c5acb58bc84dd5b98e513 Mon Sep 17 00:00:00 2001 From: Mingyueyixi <1379598589@qq.com> Date: Mon, 15 Jul 2024 01:04:34 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E5=85=B3=E9=97=ADwechat=E6=89=80?= =?UTF-8?q?=E6=9C=89=20sql=20=E8=AF=AD=E5=8F=A5=E6=9F=A5=E8=AF=A2=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E6=A0=BC=E5=BC=8F=E5=8C=96=E6=89=93=E5=8D=B0=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E5=8F=AF=E8=83=BD=E7=9A=84=E6=95=8F=E6=84=9F?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=B3=84=E9=9C=B2=E3=80=81=E6=80=A7=E8=83=BD?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E5=92=8C=E6=BD=9C=E5=9C=A8=E5=B4=A9=E6=BA=83?= =?UTF-8?q?=E3=80=82=E5=9B=A0=E4=B8=BA=E6=99=AE=E9=80=9A=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E4=B8=8D=E9=9C=80=E8=A6=81=EF=BC=8C=E5=BC=80=E5=8F=91=E8=80=85?= =?UTF-8?q?=E8=B0=83=E5=BC=8F=E5=8F=AF=E8=87=AA=E5=B7=B1=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/lu/wxmask/plugin/CommonPlugin.kt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/lu/wxmask/plugin/CommonPlugin.kt b/app/src/main/java/com/lu/wxmask/plugin/CommonPlugin.kt index 5ee665b..7ac938e 100644 --- a/app/src/main/java/com/lu/wxmask/plugin/CommonPlugin.kt +++ b/app/src/main/java/com/lu/wxmask/plugin/CommonPlugin.kt @@ -8,6 +8,7 @@ import com.lu.lposed.plugin.IPlugin import com.lu.lposed.plugin.PluginProviders import com.lu.magic.util.CursorUtil import com.lu.magic.util.log.LogUtil +import com.lu.wxmask.BuildConfig import com.lu.wxmask.ClazzN import de.robv.android.xposed.callbacks.XC_LoadPackage @@ -146,9 +147,12 @@ class CommonPlugin : IPlugin { } override fun afterHookedMethod(param: MethodHookParam) { +// 不打印,开发者自己打开来调试。 // for debug watch sql query result - LogUtil.d("sql: ", param.args[1]) - LogUtil.d("sql reqult: ", CursorUtil.getAll(param.result as Cursor?, true, true)) +// if (BuildConfig.DEBUG) { +// LogUtil.d("sql: ", param.args[1]) +// LogUtil.d("sql reqult: ", CursorUtil.getAll(param.result as Cursor?, true, true)) +// } } })