Do not depend on SDK_INT (#1689)
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
This commit is contained in:
parent
808d941846
commit
142c308261
|
|
@ -128,11 +128,7 @@ namespace art {
|
|||
RETRIEVE_MEM_FUNC_SYMBOL(SetEntryPointsToInterpreter,
|
||||
"_ZNK3art11ClassLinker27SetEntryPointsToInterpreterEPNS_9ArtMethodE");
|
||||
|
||||
if (api_level >= __ANDROID_API_T__) {
|
||||
lspd::HookSyms(handle, ShouldStayInSwitchInterpreter);
|
||||
} else {
|
||||
lspd::HookSyms(handle, ShouldUseInterpreterEntrypoint);
|
||||
}
|
||||
lspd::HookSyms(handle, ShouldUseInterpreterEntrypoint, ShouldStayInSwitchInterpreter);
|
||||
|
||||
if (api_level >= __ANDROID_API_R__) {
|
||||
// In android R, FixupStaticTrampolines won't be called unless it's marking it as
|
||||
|
|
|
|||
Loading…
Reference in New Issue