From a2ca2095c9a79bd63c654fd289e38cc892d7725e Mon Sep 17 00:00:00 2001 From: su <1044205037@qq.com> Date: Tue, 29 Dec 2020 11:19:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- app/src/debug/java/com/wuxiaosu/flymehelper/HookLogic.java | 7 ++----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d1eb5ec..593c858 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { applicationId "com.wuxiaosu.flymehelper" minSdkVersion 21 targetSdkVersion 30 - versionCode 1 - versionName "1.0" + versionCode 2 + versionName "1.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/debug/java/com/wuxiaosu/flymehelper/HookLogic.java b/app/src/debug/java/com/wuxiaosu/flymehelper/HookLogic.java index 0a6ccbf..7bbe529 100644 --- a/app/src/debug/java/com/wuxiaosu/flymehelper/HookLogic.java +++ b/app/src/debug/java/com/wuxiaosu/flymehelper/HookLogic.java @@ -1,8 +1,5 @@ package com.wuxiaosu.flymehelper; -import com.orhanobut.logger.AndroidLogAdapter; -import com.orhanobut.logger.Logger; -import com.orhanobut.logger.PrettyFormatStrategy; import com.wuxiaosu.flymehelper.util.Constants; import de.robv.android.xposed.IXposedHookLoadPackage; @@ -17,12 +14,12 @@ public class HookLogic implements IXposedHookLoadPackage { @Override public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) { if (Constants.HOOK_PKGS.contains(lpparam.packageName)) { - Logger.addLogAdapter(new AndroidLogAdapter(PrettyFormatStrategy.newBuilder() + /*Logger.addLogAdapter(new AndroidLogAdapter(PrettyFormatStrategy.newBuilder() .showThreadInfo(false) .methodCount(0) .methodOffset(7) .tag(Main.TAG) - .build())); + .build()));*/ ClassLoader classLoader = lpparam.classLoader;