Merge pull request #183 from ElderDrivers/sandhook

Sandhook: fix compilable flag
This commit is contained in:
solohsu 2019-03-22 18:20:40 +08:00 committed by GitHub
commit c20a17f576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ public class Router {
}
Router.startBootstrapHook(isSystem);
XposedInit.initForZygote(isSystem);
SandHookConfig.compiler = !isSystem;
} catch (Throwable t) {
Utils.logE("error during Xposed initialization", t);
XposedBridge.disableHooks = true;