mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-05 14:06:37 +08:00
Fix initialization failed on specific devices (#43)
Co-authored-by: LoveSy <shana@zju.edu.cn>
This commit is contained in:
parent
03517ca86d
commit
7766263eeb
@ -106,7 +106,7 @@ public:
|
|||||||
if (!RETRIEVE_FUNC_SYMBOL(DexFile_setTrusted,
|
if (!RETRIEVE_FUNC_SYMBOL(DexFile_setTrusted,
|
||||||
"_ZN3artL18DexFile_setTrustedEP7_JNIEnvP7_jclassP8_jobject",
|
"_ZN3artL18DexFile_setTrustedEP7_JNIEnvP7_jclassP8_jobject",
|
||||||
true)) {
|
true)) {
|
||||||
return false;
|
LOGW("DexFile.setTrusted not found, MakeDexFileTrusted will not work.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sdk_int >= __ANDROID_API_O__) [[likely]] {
|
if (sdk_int >= __ANDROID_API_O__) [[likely]] {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user