Fix wrong hooker
This commit is contained in:
parent
8e3afb0362
commit
dfa8e94e1d
|
|
@ -3,7 +3,7 @@ package com.elderdrivers.riru.edxp.sandhook.hooker;
|
|||
import android.app.ActivityThread;
|
||||
|
||||
import com.elderdrivers.riru.common.KeepMembers;
|
||||
import com.elderdrivers.riru.edxp._hooker.impl.OneplusWorkaround;
|
||||
import com.elderdrivers.riru.edxp._hooker.impl.SystemMain;
|
||||
import com.swift.sandhook.SandHook;
|
||||
import com.swift.sandhook.annotation.HookClass;
|
||||
import com.swift.sandhook.annotation.HookMethod;
|
||||
|
|
@ -30,7 +30,7 @@ public class SystemMainHooker implements KeepMembers {
|
|||
|
||||
@HookMethod("systemMain")
|
||||
public static ActivityThread hook() throws Throwable {
|
||||
final XC_MethodHook methodHook = new OneplusWorkaround();
|
||||
final XC_MethodHook methodHook = new SystemMain();
|
||||
final XC_MethodHook.MethodHookParam param = new XC_MethodHook.MethodHookParam();
|
||||
param.thisObject = null;
|
||||
param.args = new Object[]{};
|
||||
|
|
|
|||
Loading…
Reference in New Issue