mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Don't hook ShouldUseInterpreterEntrypoint on T+ (#49)
This commit is contained in:
parent
cd7c81128b
commit
7a6940e722
@ -131,8 +131,8 @@ public:
|
||||
static bool Init(const HookHandler &handler) {
|
||||
int sdk_int = GetAndroidApiLevel();
|
||||
|
||||
if (sdk_int >= __ANDROID_API_N__) [[likely]] {
|
||||
!HookSyms(handler, ShouldUseInterpreterEntrypoint);
|
||||
if (sdk_int >= __ANDROID_API_N__ && sdk_int < __ANDROID_API_T__) {
|
||||
HookSyms(handler, ShouldUseInterpreterEntrypoint);
|
||||
}
|
||||
|
||||
if (!HookSyms(handler, FixupStaticTrampolinesWithThread, FixupStaticTrampolines,
|
||||
|
Loading…
x
Reference in New Issue
Block a user