[app] Fix manager activation (#848)
This commit is contained in:
parent
36a1fe03e7
commit
c16176c637
|
|
@ -84,7 +84,7 @@ public class InstallerVerifier {
|
||||||
Utils.logI("Found LSPosed Manager, hooking it");
|
Utils.logI("Found LSPosed Manager, hooking it");
|
||||||
try {
|
try {
|
||||||
var clazz = XposedHelpers.findClass("org.lsposed.manager.Constants", classLoader);
|
var clazz = XposedHelpers.findClass("org.lsposed.manager.Constants", classLoader);
|
||||||
XposedHelpers.callStaticMethod(clazz, "setBinder", IBinder.class, binder);
|
XposedHelpers.callStaticMethod(clazz, "setBinder", new Class[]{IBinder.class}, binder);
|
||||||
Utils.logI("Hooked LSPosed Manager");
|
Utils.logI("Hooked LSPosed Manager");
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
Utils.logW("Could not hook LSPosed Manager", t);
|
Utils.logW("Could not hook LSPosed Manager", t);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue