summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRobert Sesek <rsesek@google.com>2018-02-26 16:54:03 -0500
committerRobert Sesek <rsesek@google.com>2018-02-26 16:59:48 -0500
commitb21dbc220fb0ef6d316886ae40e9e3a6acf205c4 (patch)
treefe09ece23da3d4ec2242961b1bdcb038c4b5a961 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta6e5165b2c45526e02299fd24c398f763e7f17c9 (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions