Fix a typo

This commit is contained in:
Nullptr 2022-12-27 21:11:06 +08:00 committed by LoveSy
parent 3cc44464d6
commit 4896974873
2 changed files with 2 additions and 2 deletions

View File

@ -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);
} }
}); });

View File

@ -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();