Skip to content

Commit

Permalink
SandHook: remove useless logic of compilable check
Browse files Browse the repository at this point in the history
  • Loading branch information
swift_gan authored and solohsu committed Mar 22, 2019
1 parent 0f1674b commit 34b0cc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,5 @@ public static void logE(String prefix, Throwable throwable) {
public static void injectConfig() {
EdXpConfigGlobal.sConfig = new SandHookEdxpConfig();
EdXpConfigGlobal.sHookProvider = new SandHookProvider();
SandHookConfig.compiler = !startsSystemServer;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ public void loadLib() {
};
SandHookConfig.DEBUG = true;
//in zygote disable compile
SandHookConfig.compiler = false;
}
}

Expand Down

0 comments on commit 34b0cc5

Please sign in to comment.