From 94ef17f06d415ab5ca6d0c1cc3682acae587e516 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Thu, 6 May 2021 12:05:28 +0800 Subject: [PATCH] [core] `nativeinit` does not have to check .so postfix (#540) --- core/src/main/java/de/robv/android/xposed/XposedInit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/de/robv/android/xposed/XposedInit.java b/core/src/main/java/de/robv/android/xposed/XposedInit.java index 7e7a8b0b..88ad0527 100644 --- a/core/src/main/java/de/robv/android/xposed/XposedInit.java +++ b/core/src/main/java/de/robv/android/xposed/XposedInit.java @@ -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); } }