summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2020-03-19 12:11:18 -0400
committerTorne (Richard Coles) <torne@google.com>2020-11-06 14:11:54 -0500
commitbc8fbe40d2fc2ee350d23d45610d5e65b24707d5 (patch)
treeceff0b46d337d75491a1b9d08d48148ec1a7f012 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf74e31b6f88f8734af995a4abf66e79bc138ef12 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions