Commit e0d65df0 authored by swift_gan's avatar swift_gan

SetHasSingleImplementation(false);

parent a4a49bb9
...@@ -113,6 +113,7 @@ bool doHookWithReplacement(art::mirror::ArtMethod *originMethod, ...@@ -113,6 +113,7 @@ bool doHookWithReplacement(art::mirror::ArtMethod *originMethod,
disableCompilable(originMethod); disableCompilable(originMethod);
disableCompilable(hookMethod); disableCompilable(hookMethod);
} }
tryDisableInline(originMethod);
if (backupMethod != nullptr) { if (backupMethod != nullptr) {
memcpy(backupMethod, originMethod, SandHook::CastArtMethod::size); memcpy(backupMethod, originMethod, SandHook::CastArtMethod::size);
if (SDK_INT >= ANDROID_N) { if (SDK_INT >= ANDROID_N) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment