Fix SandHook null pointer exception
This commit is contained in:
parent
3a5e54669c
commit
5481615cc4
|
|
@ -244,6 +244,11 @@ public class HookStubManager {
|
||||||
args = entity.getArgs(stubArgs);
|
args = entity.getArgs(stubArgs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (thiz == null)
|
||||||
|
{
|
||||||
|
thiz = originMethod.getDeclaringClass();
|
||||||
|
}
|
||||||
|
|
||||||
if (XposedBridge.disableHooks) {
|
if (XposedBridge.disableHooks) {
|
||||||
if (hasStubBackup) {
|
if (hasStubBackup) {
|
||||||
return callOrigin.call(stubArgs);
|
return callOrigin.call(stubArgs);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue