Skip to content

Commit

Permalink
disable WebView reservation for exec spawning
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Aug 25, 2019
1 parent 283b3fa commit f133136
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions core/java/com/android/internal/os/ZygoteInit.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,11 @@ static void preload(TimingsTraceLog bootTimingsTraceLog, boolean fullPreload) {
}
preloadSharedLibraries();
preloadTextResources();
// Ask the WebViewFactory to do any initialization that must run in the zygote process,
// for memory sharing purposes.
WebViewFactory.prepareWebViewInZygote();
if (fullPreload) {
// Ask the WebViewFactory to do any initialization that must run in the zygote process,
// for memory sharing purposes.
WebViewFactory.prepareWebViewInZygote();
}
if (fullPreload) {
endIcuCachePinning();
}
Expand Down

0 comments on commit f133136

Please sign in to comment.