File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
app/src/main/java/com/wmods/wppenhacer/xposed/core/devkit Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments