Fix OPPO Android P from @wuxianlin

This commit is contained in:
Jim Wu 2020-01-08 15:21:49 +08:00
parent 669a5b6f1a
commit 63753d942f
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ apply plugin: 'com.android.library'
// Values set here will be overriden by AppVeyor, feel free to modify during development.
def buildVersionName = 'v0.4.6.1'
def buildVersionCode = 10000
def buildVersionCode = 233
if (System.env.APPVEYOR_BUILD_VERSION != null) {
buildVersionName = "v${System.getenv('appveyor_build_version')}"

View File

@ -66,7 +66,7 @@ namespace edxp {
}
hook_func = reinterpret_cast<HookFunType>(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");