Skip to content

Commit

Permalink
修复一处潜在的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
firesunCN committed Jan 9, 2019
1 parent 8f184e4 commit ed63d49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ android {
applicationId "me.firesun.wechat.enhancement"
minSdkVersion 17
targetSdkVersion 23
versionCode 45
versionName "1.9.0"
versionCode 46
versionName "1.9.1"
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class HookParams {
public static final String SAVE_WECHAT_ENHANCEMENT_CONFIG = "wechat.intent.action.SAVE_WECHAT_ENHANCEMENT_CONFIG";
public static final String WECHAT_ENHANCEMENT_CONFIG_NAME = "wechat_enhancement_config";
public static final String WECHAT_PACKAGE_NAME = "com.tencent.mm";
public static final int VERSION_CODE = 45; //大版本变动时候才需要修改
public static final int VERSION_CODE = 46; //大版本变动时候才需要修改

public String SQLiteDatabaseClassName = "com.tencent.wcdb.database.SQLiteDatabase";
public String SQLiteDatabaseUpdateMethod = "updateWithOnConflict";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static final String getClassName(DexClass clazz) {
}

public static Classes findClassesFromPackage(ClassLoader loader, List<String> classes, String packageName, int depth) {
if (classesCache.containsKey(packageName)) {
if (classesCache.containsKey(packageName + depth)) {
return (Classes) classesCache.get(packageName + depth);
}

Expand Down

0 comments on commit ed63d49

Please sign in to comment.