Skip to content

Commit 13696a7

Browse files
committed
fix edit message history
1 parent d4133c5 commit 13696a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/core/devkit/Unobfuscator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,8 @@ public synchronized static Method loadGetEditMessageMethod(ClassLoader loader) t
10211021
}
10221022

10231023
// 21.xx+ method (static)
1024-
if (Modifier.isStatic(invoke.getMethodInstance(loader).getModifiers()) && Objects.equals(invoke.getParamTypes().get(0), methodData.getParamTypes().get(0))) {
1024+
// 25.xx+ added additional type check
1025+
if (Modifier.isStatic(invoke.getMethodInstance(loader).getModifiers()) && Objects.equals(invoke.getParamTypes().get(0), methodData.getParamTypes().get(0)) && !Objects.equals(invoke.getParamTypes().get(0), invoke.getDeclaredClass())) {
10251026
return invoke.getMethodInstance(loader);
10261027
}
10271028
}

0 commit comments

Comments
 (0)