Fix Native Hook for modern API modules (#2632)
This commit is contained in:
parent
a483aa3248
commit
645d7cfadf
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue