[core] `nativeinit` does not have to check .so postfix (#540)

This commit is contained in:
LoveSy 2021-05-06 12:05:28 +08:00 committed by GitHub
parent fdc7a4d8d9
commit 94ef17f06d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ public final class XposedInit {
String moduleLibraryName;
try {
while ((moduleLibraryName = moduleLibraryReader.readLine()) != null) {
if (!moduleLibraryName.startsWith("#") && moduleLibraryName.endsWith(".so")) {
if (!moduleLibraryName.startsWith("#")) {
NativeAPI.recordNativeEntrypoint(moduleLibraryName);
}
}