Skip to content

Commit d262355

Browse files
authored
Merge pull request #253 from frknkrc44/fix-25-3
fix 25.3 bugs
2 parents 0667f7c + 12b0ba8 commit d262355

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,11 @@ public synchronized static Field loadStatusPlaybackViewField(ClassLoader loader)
770770
ClassDataList classView = dexkit.findClass(FindClass.create().matcher(
771771
ClassMatcher.create().methodCount(1).addFieldForType(class1)
772772
));
773+
if (classView.isEmpty()) classView = dexkit.findClass(FindClass.create().matcher(
774+
ClassMatcher.create().methodCount(1, 2)
775+
.addMethod(MethodMatcher.create().paramTypes(View.class, boolean.class, boolean.class))
776+
.addFieldForType(class1)
777+
));
773778
if (classView.isEmpty()) throw new Exception("StatusPlaybackView field not found");
774779
Class<?> clsViewStatus = classView.get(0).getInstance(loader);
775780
Class<?> class2 = XposedHelpers.findClass("com.whatsapp.status.playback.fragment.StatusPlaybackBaseFragment", loader);

app/src/main/res/values/arrays.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
<item>2.24.26.xx</item>
121121
<item>2.25.1.xx</item>
122122
<item>2.25.2.xx</item>
123+
<item>2.25.3.xx</item>
123124
</string-array>
124125
<string-array name="supported_versions_business">
125126
<item>2.24.23.xx</item>

0 commit comments

Comments
 (0)