summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/UserPackage.java
Commit message (Collapse)AuthorAgeFilesLines
* WebView: Load Android T specific WebViewMichael Bai2022-02-181-1/+1
| | | | | | Bug: 214742132 Test: Manual test Change-Id: I1ecdc9990663e0e2469c33f86decf8cb0e1136d2
* Merge "Reland "Enable new S APIs for WebView."""TreeHugger Robot2020-10-131-1/+1
|\
| * Reland "Enable new S APIs for WebView.""Richard Coles2020-10-131-1/+1
| | | | | | | | | | | | | | | | This reverts commit 039e10f76a1c3f2e2c095449577715bd87d98350. New WebView binary has now been dropped, fixing the strict mode issue that necessitated a revert. Change-Id: I86644e8a216c7087d7a00294d2b7f9ddb1705968
* | Merge "Revert "Enable new S APIs for WebView.""TreeHugger Robot2020-10-021-1/+1
|\|
| * Revert "Enable new S APIs for WebView."Nate Fischer2020-10-021-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit cfa9b7033c711d720f395e0ac387bfc65bb6fd70. Reason for revert: WebView M85+ has a strictmode violation Bug: 169877920 Change-Id: I46a26c16d83debc548217538200c6736ab8abeae
* | Merge "Enable new S APIs for WebView."TreeHugger Robot2020-10-011-1/+1
|\|
| * Enable new S APIs for WebView.Torne (Richard Coles)2020-08-051-1/+1
| | | | | | | | | | | | | | | | | | Make WebViewFactory create the *ForS version of the WebView factory provider, and require that WebView implementations target at least S to be valid. Test: atest CtsWebkitTestCases Change-Id: I21a1dc9a9084c1086bba52921bd19ba968544a9c
* | Refactored some UserManager.getUsers(excludeDying) calls.Felipe Leme2020-08-121-1/+1
|/ | | | | | | | | | | | | | Replaced by getUsers() when exlcudeDying was hardcoded to false, or getUsers(true, excludeDying, true) when it was a variable. This refactoring will help replacing getUsers(true) to getAliveUsers(). Bug: 157921703 Test: m Test: atest atest LockscreenFrpTest LockSettingsServiceTests SyntheticPasswordTests Change-Id: I139462ab329fe46d8136eae0a39ac071a7e019db
* Switch to WebViewFactoryProviderForR.Anna Malova2020-02-131-1/+1
| | | | | Test: n/a Change-Id: I855463395044045b0ad1c7904a9aeb6fd32eaf54
* [wv] Update WebView factory provider class name.Tobias Sargeant2018-12-211-1/+1
| | | | | Test: existing CTS tests. Change-Id: Ib64c0655a605cb38aea1e2db2a45c9a09079c9ae
* Switch to WebViewChromiumFactoryProviderForPShimi Zhang2017-12-211-1/+1
| | | | | | Bug: 70688155 Test: Flash device to make sure WebView providers are in developer options. Change-Id: I6fbaa0bd7769da4a83b42a378cb80cf3497294a2
* Fix WebViewUpdateService test expectation to match reality.Gustav Sennton2017-11-201-1/+3
| | | | | | | | | | Update testTargetSdkVersionValidity to use the same minimum sdk as the actual code it's testing. Bug: 69554263 Test: run com.android.server.webkit.WebViewUpdateServiceTest tests. Change-Id: Ide04ede774072a10b84a9726bdff536bfef12712
* WebView: wrap Java literals with {@code}Nate Fischer2017-09-051-1/+1
| | | | | | | | | | | | | | | | Docs change only. This wraps some Java literals (true, false, null) with {@code} blocks, as per Android API guidelines. This also addresses other presubmit errors: * fix lines that have become too long * fix broken import order and unused imports Bug: 65213517 Test: make docs (and manually verify things look better) Change-Id: Idc7fe28d40bea7bd1edcad539b75fa9c689b8d46
* WebView: require APKs to target OMR1Nate Fischer2017-08-281-1/+1
| | | | | | | | | | This disallows WebView/Monochrome APKs targeting O or below to be chosen as WebView providers. Bug: 65080651 Test: Open WebView shell with webview from system image, no crash Test: Install Monochrome compiled for O, it's not in the webview provider list Change-Id: I79162cedaa801ce227ad4c2eb3cbea9c08704da8
* Unbreak even more APK 26 apps running on "O" preview/beta builds.Jeff Sharkey2017-05-171-2/+1
| | | | | | Bug: 38391358 Test: builds Change-Id: Ic48f9cb53da3ed8241e5d40d3096304ee4dfebd2
* Make sure we cannot use packages targeting pre-O as WebView packages.Gustav Sennton2017-02-011-0/+10
| | | | | | | | | | | | | | | | | | | | Using a WebView package targeting a release before O as WebView provider on O will cause crashes (because of incompatibility issues), this CL makes us interpret a package targeting a pre-O release as being invalid on O. Also remove the code that lets us fall back to loading the old WebViewChromiumFactoryProvider (pre-O) class. Bug: 34773740 Bug: 34180497 Test: Ensure WebView provider with targetSdkVersion="O" shows up in the WebView Implementation Dev Setting, ensure targetSdkVersion=25 doesn't show up. Test: Add WVUS unit test to ensure a packages with targetSdkVersion < 26 are considered invalid, and > 26 are valid. Run WVUS unit tests. Change-Id: I4d80d46019e2522bc3fc6068712d28eedb31fcce
* Change WebView fallback mechanism to consider all users' package states.Gustav Sennton2017-01-231-0/+94
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