mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-05 05:56:38 +08:00
Fix another bug
This commit is contained in:
parent
ec8cee26ee
commit
b2e1065452
@ -120,7 +120,7 @@ public:
|
|||||||
auto *first = FromReflectedMethod(env,
|
auto *first = FromReflectedMethod(env,
|
||||||
JNI_GetObjectArrayElement(env, constructors, 0).get());
|
JNI_GetObjectArrayElement(env, constructors, 0).get());
|
||||||
auto *second = FromReflectedMethod(env,
|
auto *second = FromReflectedMethod(env,
|
||||||
JNI_GetObjectArrayElement(env, constructors, 0).get());
|
JNI_GetObjectArrayElement(env, constructors, 1).get());
|
||||||
art_method_size = reinterpret_cast<uintptr_t>(second) - reinterpret_cast<uintptr_t>(first);
|
art_method_size = reinterpret_cast<uintptr_t>(second) - reinterpret_cast<uintptr_t>(first);
|
||||||
LOGD("ArtMethod size: %zu", art_method_size);
|
LOGD("ArtMethod size: %zu", art_method_size);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user