Skip to content

Commit

Permalink
更新版本;
Browse files Browse the repository at this point in the history
  • Loading branch information
su committed Dec 29, 2020
1 parent 5ca16dc commit a2ca209
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
7 changes: 2 additions & 5 deletions app/src/debug/java/com/wuxiaosu/flymehelper/HookLogic.java
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;

Expand Down

0 comments on commit a2ca209

Please sign in to comment.