Fix backup method not called in some cases
This commit is contained in:
parent
69533ce5b6
commit
1aa63822d9
|
|
@ -66,8 +66,9 @@ public class HandleBindAppHooker implements KeepMembers {
|
|||
}
|
||||
} catch (Throwable t) {
|
||||
logE("error when hooking bindApp", t);
|
||||
} finally {
|
||||
backup(thiz, bindData);
|
||||
}
|
||||
backup(thiz, bindData);
|
||||
}
|
||||
|
||||
public static void backup(Object thiz, Object bindData) {
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ public class LoadedApkConstructorHooker implements KeepMembers {
|
|||
boolean includeCode, boolean registerPackage) {
|
||||
|
||||
if (XposedBridge.disableHooks) {
|
||||
backup(thiz, activityThread, aInfo, compatInfo, baseLoader, securityViolation, includeCode, registerPackage);
|
||||
backup(thiz, activityThread, aInfo, compatInfo, baseLoader, securityViolation,
|
||||
includeCode, registerPackage);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue