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;