summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGustav Sennton <gsennton@google.com>2016-12-14 09:10:50 +0000
committerGustav Sennton <gsennton@google.com>2017-01-23 09:30:11 +0000
commit364e16029017a4e16ed727a5e501f70363d04e5a (patch)
tree0716f96dc7b88ab633ae552df9133458597873a0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1628b97e54d7f56352d7f3ad9c6b4166d56082a5 (diff)
Change WebView fallback mechanism to consider all users' package states.
MultiProcess WebView will use a Service to start a separate process (the renderer process). This Service can only be started if the WebView package is enabled for the current user. To ensure that the current WebView package is usable by all users on a single device we now only use a WebView package as WebView implementation if that package is enabled and installed for all user on the device. This also means that the WebView-fallback mechanism will trigger when disabling the primary WebView package for any user (not just the system user). Also add multi-user unit tests to cover this new change. Bug: 32894152 Test: run unit tests in WebViewUpdateServiceTest Test: ensure the standalone WebView package becomes enabled (for all device users) when disabling Chrome for a secondary user. Test: load WebView (both using Monochrome, and using the standalone WebView). Change-Id: Iad3fc48aa50273062c2f29ae48a343c2dea38116
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions