Fix Native Hook for modern API modules (#2632)

This commit is contained in:
anonymix007 2023-07-16 06:29:57 +03:00 committed by GitHub
parent a483aa3248
commit 645d7cfadf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -212,11 +212,11 @@ public class LSPosedContext extends XposedContext {
}
}
Log.d(TAG, "Loaded module " + module.packageName + ": " + ctx);
module.file.moduleLibraryNames.forEach(NativeAPI::recordNativeEntrypoint);
return true;
} catch (Throwable e) {
Log.d(TAG, "Loading module " + module.packageName, e);
}
module.file.moduleLibraryNames.forEach(NativeAPI::recordNativeEntrypoint);
return false;
}