From e009fa88572943232800cc337c7b568098d4c86d Mon Sep 17 00:00:00 2001 From: wuxianlin Date: Sat, 2 Nov 2019 00:01:24 -0700 Subject: [PATCH] fix oppo android p --- edxp-core/src/main/cpp/main/src/native_hook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edxp-core/src/main/cpp/main/src/native_hook.cpp b/edxp-core/src/main/cpp/main/src/native_hook.cpp index 0584a8c72..cd97b68e2 100644 --- a/edxp-core/src/main/cpp/main/src/native_hook.cpp +++ b/edxp-core/src/main/cpp/main/src/native_hook.cpp @@ -65,7 +65,7 @@ namespace edxp { } hook_func = reinterpret_cast(hook_func_symbol); - if (api_level >= ANDROID_P) { + if (api_level > ANDROID_P) { ScopedDlHandle dl_handle(kLibDlPath.c_str()); void *handle = dl_handle.Get(); HOOK_FUNC(mydlopen, "__loader_dlopen");