Delay starting the webview_zygote until first use.
During boot, WebViewZygote.setMultiprocessEnabled() is called by the WebView initialization logic. Starting the WebViewZygote here causes a slowdown in the system_server boot process, so delay launching the zygote until it is needed. Previously the webview_zygote was launched by init, and merely connecting to it in the boot process didn't have significant overhead. Bug: 73743583 Bug: 63749735 Test: Boot a device, verify that webview_zygote process is not running. Test: Launch "Third-party licenses" activity from Settings, and it renders correctly via the WebView. Change-Id: I1352a5df95e4a793ac64862c439ba2573ddd2d18
Loading
Please register or sign in to comment