From e72414b08cd391f89ab14d72b247b3698e01d7e1 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Sun, 7 Mar 2021 16:59:35 +0800 Subject: [PATCH] [core] Supress hook warning on old R (#280) --- core/src/main/cpp/main/include/art/runtime/class_linker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/cpp/main/include/art/runtime/class_linker.h b/core/src/main/cpp/main/include/art/runtime/class_linker.h index 7824fecd..933cee55 100644 --- a/core/src/main/cpp/main/include/art/runtime/class_linker.h +++ b/core/src/main/cpp/main/include/art/runtime/class_linker.h @@ -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); }