1a4c4e35397adb964fb53695f66e1ac1ace39ff1 |
|
10-Jan-2017 |
Torne (Richard Coles) <torne@google.com> |
Handle multiprocess flag in WebView update service. Instead of letting DevelopmentSettings manage the setting directly and observing the changes from WebViewUpdateService, have the update service manage the setting and just expose IPCs for the settings app to use to get/set the setting. This means we can set a more flexible policy for whether multiprocess is enabled by default and change it without touching the settings code, though for now this CL does not change the behaviour and is just a refactoring. Bug: 21643067 Test: Toggle multiprocess WebView in developer settings Change-Id: I3057c09d99f5f6f472a5195a8e14e9164ea5733a
/frameworks/base/core/java/android/webkit/IWebViewUpdateService.aidl
|
bf683e07c350ed7cd2c8e877b447e1dd41863a94 |
|
15-Sep-2016 |
Gustav Sennton <gsennton@google.com> |
Add an API for retrieving information about the current WebView package. Now that WebView can be loaded from one out of a set of packages we provide an API for fetching information about this package. Such API is especially useful for debugging crashes. Bug: 30597460 Change-Id: I13dd746f7efcf2917b517053010b73ea35241325
/frameworks/base/core/java/android/webkit/IWebViewUpdateService.aidl
|
8b17926a78cc686504739730516c9b057d0672da |
|
14-Mar-2016 |
Gustav Sennton <gsennton@google.com> |
Add utility interface for WebView preparation logic. To make the WebView preparation mechanism testable we add a utility interface that can be overridden during a test to avoid calling the Android framework and to provide custom WebView packages. With this change we also split some of the code from the WebViewFactory (code unrelated to WebView loading) into a separate utility class. Bug: 27635535 Change-Id: I265ecd42b24ad5383637e125b3654ff339c9df9c
/frameworks/base/core/java/android/webkit/IWebViewUpdateService.aidl
|
c83e3fa35a5736a1778d241abd18dffa5953f416 |
|
18-Feb-2016 |
Gustav Sennton <gsennton@google.com> |
Add fallback packages to be enabled iff no webview packages are valid This patch makes it possible to declare a WebView package as a fallback which means that the package will be enabled iff there exist no other valid and enabled (and available-by-default) webview packages. The enabled-state of a fallback package is updated at boot and if a webview package is changed (it it's been up/downgraded or has had its enabled-state changed). This patch also adds 'webviewupdate' shell commands for enabling and disabling this mechanism. Bug: 26375524, 26375860 Change-Id: I151915e5d6d932697dab10aeb593687e6b9c817e
/frameworks/base/core/java/android/webkit/IWebViewUpdateService.aidl
|
6258dcd7ea5450726bc7bcb1fbd50e99f62f38fb |
|
30-Oct-2015 |
Gustav Sennton <gsennton@google.com> |
Add functionality for changing WebView provider. Make it possible to change WebView provider (through a Developer setting) and kill all apps using the old provider. This includes checking the signatures of the WebView providers to make sure they are valid. Now that we can change WebView provider through a setting it is possible to change provider while some provider is being updated. Because of this we now keep track of which provider should be in use in WebViewUpdateService to make sure we use the correct provider at all times. We now also read WebView package meta data (name, package name, and signature) from a separate xml file. Main bug: crbug.com/546185 Bug: 25338573 Change-Id: I660fd1a40a5388f6569a06a7f0d029e8ff65945a
/frameworks/base/core/java/android/webkit/IWebViewUpdateService.aidl
|
08cfaf672604422dd355d6703aec78f3aa5ee74e |
|
08-May-2014 |
Torne (Richard Coles) <torne@google.com> |
Use the WebView's loader library to load the real library. Load libwebviewchromiumloader and use it to load the real WebView library, to enable sharing of the relro segment between different application processes without requiring that the library be preloaded in the zygote. A system service is added to track whether the relro segment file has been prepared, and block loading of the library until it has been. Bug: 13005501 Change-Id: I846b37c7b8e2a4eb8a39e4fd455bccbb2048c173
/frameworks/base/core/java/android/webkit/IWebViewUpdateService.aidl
|