Update lsplant.cc

This commit is contained in:
烂泥扶上墙 2025-03-31 18:02:52 +08:00 committed by GitHub
parent 5c015b6a23
commit 0dfff23d2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -539,7 +539,7 @@ bool DoHook(ArtMethod *target, ArtMethod *hook, ArtMethod *backup) {
} else {
LOGV("Generated trampoline %p", entrypoint);
if (GetAndroidApiLevel() >= __ANDROID_API_V__ && target->IsIntrinsic()) [[unlikely]] {
if (GetAndroidApiLevel() >= __ANDROID_API_O__ && target->IsIntrinsic()) [[unlikely]] {
target->SetNonIntrinsic();
}