[core] Supress hook warning on old R (#280)

This commit is contained in:
LoveSy 2021-03-07 16:59:35 +08:00 committed by GitHub
parent 83045a69a7
commit e72414b08c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ namespace art {
// Therefore we hook the new introduced MarkClassInitialized instead
// This only happens on non-x86 devices
lspd::HookSyms(handle, MarkClassInitialized);
lspd::HookSyms(handle, FixupStaticTrampolinesWithThread);
lspd::HookSyms(handle, FixupStaticTrampolinesWithThread, FixupStaticTrampolines);
} else {
lspd::HookSyms(handle, FixupStaticTrampolines);
}