mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-05 14:06:37 +08:00
x86 and x86_64 do not have AdjustThreadVisibilityCounter
This commit is contained in:
parent
845ec5dc40
commit
bdc1e6f8a7
@ -134,9 +134,11 @@ public:
|
|||||||
int sdk_int = GetAndroidApiLevel();
|
int sdk_int = GetAndroidApiLevel();
|
||||||
|
|
||||||
if (sdk_int >= __ANDROID_API_R__) {
|
if (sdk_int >= __ANDROID_API_R__) {
|
||||||
|
if constexpr (GetArch() != Arch::kX86 && GetArch() != Arch::kX8664) {
|
||||||
// fixup static trampoline may have been inlined
|
// fixup static trampoline may have been inlined
|
||||||
HookSyms(handler, AdjustThreadVisibilityCounter);
|
HookSyms(handler, AdjustThreadVisibilityCounter);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!RETRIEVE_MEM_FUNC_SYMBOL(
|
if (!RETRIEVE_MEM_FUNC_SYMBOL(
|
||||||
SetEntryPointsToInterpreter,
|
SetEntryPointsToInterpreter,
|
||||||
|
2
lsplant/src/main/jni/external/dex_builder
vendored
2
lsplant/src/main/jni/external/dex_builder
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 33c8b50ac7d2498c0db8fe2c6e4273dabc82de75
|
Subproject commit 6022a5c25402a928c1ad25d23d17590060507817
|
Loading…
x
Reference in New Issue
Block a user