[sandhook] Fix typo

This commit is contained in:
kotori0 2021-02-21 16:41:41 +08:00 committed by tehcneko
parent 95739bc185
commit a61740da2e
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class SandHookImpl extends BaseImpl {
@Override
public void init() {
SandHook.init(com.swift.sandhook.SandHook.class, ClassNeverCall.class);
int sdkVersion = Build.VERSION.SDK_INT;
if (Build.VERSION.PREVIEW_SDK_INT != 0) {
sdkVersion += 1;