summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/WebViewUpdateService.java
Commit message (Collapse)AuthorAgeFilesLines
* Use new UnsupportedAppUsage annotation.Artur Satayev2019-12-181-1/+1
| | | | | | | | Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library. Bug: 145132366 Test: m && diff unsupportedappusage_index.csv Change-Id: I5be7335b23a92b8ac80d2fd890198273b66ad644
* Add @UnsupportedAppUsage annotationsMathew Inwood2018-08-161-0/+2
| | | | | | | | | | | | | | | | For packages: android.webkit This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I41643e1e47391a12b0aed3058b3d9987a8e6ee2f
* Improve handling of devices without a WebView.Torne (Richard Coles)2017-10-031-3/+15
| | | | | | | | | | | | | | | | | | | Use the presence of FEATURE_WEBVIEW to determine whether a device is intended to have a WebView implementation or not, instead of trying to fall back to NullWebViewFactoryProvider after loading WebView fails. This removes the need for nullwebview entirely, and eliminates a class of possible bug where unexpected exceptions during loading cause the fallback mechanism not to work reliably. On devices which don't have the feature, don't start WebViewUpdateService at all. Guard all the places which try to access the service to return reasonable (empty/null) results when this is the case, instead of throwing exceptions. Change-Id: I839adaaf0abee28f4989e3fbc0c49c0732d0ec1c Bug: 31849211 Fixes: 28529980 Test: on wear and non-wear, cts-tradefed run cts -m CtsWebkitTestCases
* Nicer rethrowing of RemoteExceptions from WebViewUpdateServiceGustav Sennton2016-05-041-3/+3
| | | | | Bug: 28437506 Change-Id: I413334efa3d2ca16ee8fe8822fdbcddfdc250a21
* Add system api to reach WebViewUpdateService Binder interface.Gustav Sennton2016-04-011-0/+66
Instead of using reflection in XTS tests we add some system-apis to enable fetching information about webview packages. Bug: 26381867 Change-Id: If983a01b6855e4a4c08ef0b5873304918d499b76