Loading core/java/android/webkit/WebViewZygote.java +5 −7 Original line number Original line Diff line number Diff line Loading @@ -93,13 +93,11 @@ public class WebViewZygote { synchronized (sLock) { synchronized (sLock) { sMultiprocessEnabled = enabled; sMultiprocessEnabled = enabled; // When toggling between multi-process being on/off, start or stop the // When multi-process is disabled, kill the zygote. When it is enabled, // zygote. If it is enabled and the zygote is not yet started, launch it. // the zygote is not explicitly started here to avoid waiting on the // Otherwise, kill it. The name may be null if the package information has // zygote launch at boot. Instead, the zygote will be started when it is // not yet been resolved. // first needed in getProcess(). if (enabled) { if (!enabled) { connectToZygoteIfNeededLocked(); } else { stopZygoteLocked(); stopZygoteLocked(); } } } } Loading Loading
core/java/android/webkit/WebViewZygote.java +5 −7 Original line number Original line Diff line number Diff line Loading @@ -93,13 +93,11 @@ public class WebViewZygote { synchronized (sLock) { synchronized (sLock) { sMultiprocessEnabled = enabled; sMultiprocessEnabled = enabled; // When toggling between multi-process being on/off, start or stop the // When multi-process is disabled, kill the zygote. When it is enabled, // zygote. If it is enabled and the zygote is not yet started, launch it. // the zygote is not explicitly started here to avoid waiting on the // Otherwise, kill it. The name may be null if the package information has // zygote launch at boot. Instead, the zygote will be started when it is // not yet been resolved. // first needed in getProcess(). if (enabled) { if (!enabled) { connectToZygoteIfNeededLocked(); } else { stopZygoteLocked(); stopZygoteLocked(); } } } } Loading