Do hooking before original handleBindApplication method is called
This commit is contained in:
parent
d0f49f9512
commit
9435e9867b
|
|
@ -27,8 +27,8 @@ public class HandleBindAppHooker implements KeepMembers {
|
||||||
public static String methodSig = "(Landroid/app/ActivityThread$AppBindData;)V";
|
public static String methodSig = "(Landroid/app/ActivityThread$AppBindData;)V";
|
||||||
|
|
||||||
public static void hook(Object thiz, Object bindData) {
|
public static void hook(Object thiz, Object bindData) {
|
||||||
backup(thiz, bindData);
|
|
||||||
if (XposedBridge.disableHooks) {
|
if (XposedBridge.disableHooks) {
|
||||||
|
backup(thiz, bindData);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
@ -67,6 +67,7 @@ public class HandleBindAppHooker implements KeepMembers {
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
logE("error when hooking bindApp", t);
|
logE("error when hooking bindApp", t);
|
||||||
}
|
}
|
||||||
|
backup(thiz, bindData);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void backup(Object thiz, Object bindData) {
|
public static void backup(Object thiz, Object bindData) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue