b265016b0c02fde89e392b4637a70317b0a63545 |
|
07-Apr-2017 |
Gustav Sennton <gsennton@google.com> |
Add shell command for turning on/off WebView multiprocess. Now that we are removing the WebView Multiprocess Developer Setting we instead add a couple of shell commands for debugging purposes: adb shell cmd webviewupdate enable-multiprocess adb shell cmd webviewupdate disable-multiprocess We also ensure that multiprocess for WebView is enabled after this change - even if the user disabled it earlier. Bug: 36513859 Test: Run WebViewUpdateServiceTest tests. Test: Ensure disabling/enabling multiprocess through the new adb commands causes WebViewZygote to be used accordingly, and kills apps using WebView. Test: Disable multiprocess on a previous OC-build, then flash a build with this change in it, and ensure multiprocess is turned on (multiprocess is currently on by default for all devices). Change-Id: I923198781777e33848b671ec44f50bbc65b43e24
/frameworks/base/services/core/java/com/android/server/webkit/WebViewUpdateServiceShellCommand.java
|
ab3b6b12585c209b8c5287a6dcedfe648f857a9f |
|
16-Mar-2016 |
Gustav Sennton <gsennton@google.com> |
Provide command to change WebView implementation. Add a shell command for switching webview implementation so that this can be done automatically - without interacting with a Dev Setting. Bug: 27540566 Change-Id: I3c4acaa1b8f4ba24c637ef8a1d48cc7b2616bd91
/frameworks/base/services/core/java/com/android/server/webkit/WebViewUpdateServiceShellCommand.java
|
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/services/core/java/com/android/server/webkit/WebViewUpdateServiceShellCommand.java
|