Commit 87f376ea authored by swift_gan's avatar swift_gan

remove useless code

parent dbab411b
......@@ -169,9 +169,7 @@ Java_com_swift_sandhook_SandHook_hookMethod(JNIEnv *env, jclass type, jobject or
isInlineHook = false;
} else if (!origin->isCompiled()) {
if (SDK_INT >= ANDROID_N) {
if (SDK_INT >= ANDROID_N) {
isInlineHook = origin->compile(env);
}
isInlineHook = origin->compile(env);
} else {
isInlineHook = false;
}
......
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