History log of /frameworks/support/webkit/src/main/java/androidx/webkit/WebSettingsCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
826eeefd318cd30068ec731619ade6f5da7e7c4d 03-Apr-2018 Gustav Sennton <gsennton@google.com> [WebView Support Library] guard existing APIs with feature flags.

This CL adds feature flags for a bunch of WebView Support Library APIs
(related to ServiceWorkers, SafeBrowsing, and WebSettings) and ensures
that those APIs are guarded by the corresponding feature flags.
These feature flags are used to determine which APIs the current WebView
APK implements.

Bug: 73454029
Bug: 73151166
Bug: 73151403
Test: manually, ensuring features declared in the WebView APK are
marked as supported in the support library, and features not declared in
the WebView APK are marked as unsupported.
Change-Id: I6928769648ce68c73aadcaf0563426abdebb0992
/frameworks/support/webkit/src/main/java/androidx/webkit/WebSettingsCompat.java
075df7149fabf33bbb62d7d3e07bb40889c6476d 05-Mar-2018 Gustav Sennton <gsennton@google.com> [WebView Support Library] add WebSettingsCompat#MenuItemFlags annotation

To guard values passed into
WebSettingsCompat.set/getDisabledActionModeMenuItems() we create a new
annotation similar to WebSettings#MenuItemFlags.
We cannot reuse the existing annotation since it is hidden within the
framework.

Bug: 73454029
Test: run androidx.webkit tests.
Change-Id: I57c0d1db7d77d47fd2d12b9023d3928c664c0390
/frameworks/support/webkit/src/main/java/androidx/webkit/WebSettingsCompat.java
57b03e2bfb467f3d6366bffeb14031354f1be5f1 28-Feb-2018 Gustav Sennton <gsennton@google.com> Reland "[WebView Support Library] Add support for WebSettingsCompat."

The original commit
"
Add support for WebSettingsCompat in the form of

class WebSettingsCompat {
static Foo method(WebSettings webSettings, Params params...);
}

APIs.
"
included support library tests that were not disabled for old Android
versions - and we currently don't support such devices without
installing a support-library compatible WebView APK.

Bug: 73454029
Test: ran androidx.webkit tests.
Change-Id: I89acb0ba203aba14532c8399614a60e296028700
/frameworks/support/webkit/src/main/java/androidx/webkit/WebSettingsCompat.java
9038dbc90217e45547f87a87950ea86fb233adfb 28-Feb-2018 Aurimas Liutikas <aurimas@google.com> Revert "[WebView Support Library] Add support for WebSettingsCompat."

This reverts commit f37dff2e70d322b7ac101d2da50551f5d543efe4.

Reason for revert: This is causing presubmit test failures. E.g. https://sponge.corp.google.com/invocation?tab=Test+Cases&show=FAILED&show=INTERNAL_ERROR&id=ecd4a9a7-6eb0-4622-a8b3-78dee9569dac

Bug: 73454029
Change-Id: Id5a8543dd99dc0bed54e3126a0de320f3fb3540b
/frameworks/support/webkit/src/main/java/androidx/webkit/WebSettingsCompat.java
f37dff2e70d322b7ac101d2da50551f5d543efe4 15-Feb-2018 Gustav Sennton <gsennton@google.com> [WebView Support Library] Add support for WebSettingsCompat.

Add support for WebSettingsCompat in the form of

class WebSettingsCompat {
static Foo method(WebSettings webSettings, Params params...);
}

APIs.

Bug: 73454029
Test: run androidx.webkit tests.

Change-Id: If8d63292c7c03001d5b5959236fa8733870d7ef0
/frameworks/support/webkit/src/main/java/androidx/webkit/WebSettingsCompat.java