Skip to content
Commit bc8fbe40 authored by Torne (Richard Coles)'s avatar Torne (Richard Coles)
Browse files

Restart the WebView zygote after a WebView update.

The zygote is stopped when a WebView update occurs, and will be
automatically restarted the first time an app tries to use it, but this
means the first app to use WebView after an update pays a fairly large
startup time penalty.

Instead, queue a background task to wait for RELRO creation to be
finished and then start the zygote immediately afterward, as we do at
boot time, saving the app from paying this cost.

Fixes: 112485729
Test: atest WebViewUpdateServiceTest
Change-Id: I14159980851f423675b6a4ec0905cecda63e0e54
parent f74e31b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment