Fix initialization failed on specific devices (#43)

Co-authored-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
Katana 2023-06-17 01:02:49 +08:00 committed by GitHub
parent 03517ca86d
commit 7766263eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,7 +106,7 @@ public:
if (!RETRIEVE_FUNC_SYMBOL(DexFile_setTrusted,
"_ZN3artL18DexFile_setTrustedEP7_JNIEnvP7_jclassP8_jobject",
true)) {
return false;
LOGW("DexFile.setTrusted not found, MakeDexFileTrusted will not work.");
}
}
if (sdk_int >= __ANDROID_API_O__) [[likely]] {