Fix a typo
This commit is contained in:
parent
3cc44464d6
commit
4896974873
|
|
@ -13,7 +13,7 @@ public class AttachHooker extends XC_MethodHook {
|
||||||
@Override
|
@Override
|
||||||
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
|
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
|
||||||
serviceClient.getModulesList().forEach(module -> {
|
serviceClient.getModulesList().forEach(module -> {
|
||||||
if (LSPosedContext.loadModules((ActivityThread) param.thisObject, module)) {
|
if (LSPosedContext.loadModule((ActivityThread) param.thisObject, module)) {
|
||||||
XposedInit.getLoadedModules().add(module.packageName);
|
XposedInit.getLoadedModules().add(module.packageName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ public class LSPosedContext extends XposedContext {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean loadModules(ActivityThread at, Module module) {
|
public static boolean loadModule(ActivityThread at, Module module) {
|
||||||
try {
|
try {
|
||||||
Log.d(TAG, "Loading module " + module.packageName);
|
Log.d(TAG, "Loading module " + module.packageName);
|
||||||
var sb = new StringBuilder();
|
var sb = new StringBuilder();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue