diff options
author | Gustav Sennton <gsennton@google.com> | 2017-04-07 14:41:38 +0100 |
---|---|---|
committer | Gustav Sennton <gsennton@google.com> | 2017-04-19 17:50:26 +0100 |
commit | b265016b0c02fde89e392b4637a70317b0a63545 (patch) | |
tree | a57922a900570fc9815c53bb510cbcf461c1abff /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | a622b24d3a28a59b67475e06b782c72ebb17c7dc (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions