diff options
author | Gustav Sennton <gsennton@google.com> | 2017-03-22 19:30:33 +0000 |
---|---|---|
committer | Gustav Sennton <gsennton@google.com> | 2017-03-24 12:36:12 +0000 |
commit | f05f99b9106ab6dffcf71735f0f7c269ad23282e (patch) | |
tree | 59488f3760a1beba309ceae5ab63f1354ced7b1c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b4e6b5a71906edc58b25b90008cae26e7da78869 (diff) |
Post WebView Zygote connection code to a background thread.
Currently, the act of waiting for the WebView Zygote to start running,
and then connecting to it is run in a blocking way from
WebViewZygote.onWebViewProviderChanged(). This causes us to block large
parts of WebViewUpdateService for a long time whenever we change WebView
provider.
This CL moves the blocking code onto a background thread to unblock
WebViewUpdateService.
Bug: 35025131
Test: Ensure changing WebView provider from the WebView Implementation
Developer Setting is quick/responsive.
Test: Turn off WebView multi-process and ensure the WebView Zygote
Service is NOT started.
Test: Turn on WebView multi-process and ensure the WebView Zygote
Service is started.
Change-Id: I0b378a471491d40cbf027568ca317d6c080da4b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions