File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
app/src/main/java/com/wmods/wppenhacer/xposed/core/devkit Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1563,15 +1563,12 @@ public synchronized static Method loadTextStatusComposer2(ClassLoader classLoade
15631563 for (var method : tscClazzData .getMethods ()) {
15641564 var tdMethod = method .getInvokes ().stream ().filter (m -> m .isMethod () && m .getParamCount () == 1 && m .getParamTypes ().get (0 ).equals (dexkit .getClassData (TextDataClass ))).findFirst ();
15651565 if (tdMethod .isPresent ()) {
1566- result .add (tdMethod .get ().getDeclaredClass ());
1567- break ;
1566+ return tdMethod .get ().getMethodInstance (classLoader );
15681567 }
15691568 }
15701569 }
15711570
1572- if (result .isEmpty ()) {
1573- throw new RuntimeException ("TextStatusComposer2 class not found 1" );
1574- }
1571+ throw new RuntimeException ("TextStatusComposer2 class not found 1" );
15751572 }
15761573
15771574 var foundClass = result .get (0 ).getInstance (classLoader );
You can’t perform that action at this time.
0 commit comments