diff --git a/docs/html/preview/api-overview.jd b/docs/html/preview/api-overview.jd index 90b4e39d7ac21..c7ffb7a06b760 100644 --- a/docs/html/preview/api-overview.jd +++ b/docs/html/preview/api-overview.jd @@ -27,6 +27,7 @@ page.image=images/cards/card-n-apis_2x.png
+ Starting with Chrome version 51 on Android N and above, the Chrome APK on your device + is used to provide and render Android System WebViews. This approach improves memory + usage on the device itself and also reduces the bandwidth required to keep + WebView up to date (as the standalone WebView APK will no longer be updated + as long as Chrome remains enabled). +
+ ++ You can choose your WebView provider by enabling Developer Options and + selecting WebView implementation. You can use any compatible + Chrome version (Dev, Beta or Stable) that is installed on your device or the + standalone Webview APK to act as the WebView implementation. +
+ ++ Starting with Chrome version 51 in Android N, WebView will run web content in a + separate sandboxed process when the developer option "Multiprocess WebView" + is enabled. +
+ ++ We're looking for feedback on compatibility and runtime performance in N + before enabling multiprocess WebView in a future version of Android. In this + version, regressions in startup time, total memory usage and software + rendering performance are expected. +
+ ++ If you find unexpected issues in multiprocess mode we’d like to hear about + them. Please get in touch with the WebView team on the Chromium bug tracker. +
+ ++ Starting with apps targeting Android N, the Javascript context will be reset + when a new page is loaded. Currently, the context is carried over for the + first page loaded in a new WebView instance. +
+ ++ Developers looking to inject Javascript into the WebView should execute the + script after the page has started to load. +
+ ++ Starting with apps targeting Android N, the geolocation API will only be + allowed on secure origins (over HTTPS.) This policy is designed to protect + users’ private information when they’re using an insecure connection. +
+ ++ WebView is updated regularly, so we recommend that you test compatibility + with your app frequently using WebView’s beta channel. To get started testing + pre-release versions of WebView on Android N, download and install either + Chrome Dev or Chrome Beta, and select it as the WebView implementation under + developer options as described above. Please report issues via the Chromium + bug tracker so that we can fix them before a new version of WebView is + released. +
+ ++ If you have any other questions or issues, feel free to reach out to the + WebView team via our G+ community. +
android.net.VpnService.
Users can also manually set Always on VPN clients that implement
- VPNService methods in the primary user using
- Settings>More>Vpn.
+ VPNService methods using
+ Settings>More>Vpn. The option to enable Always on VPN
+ from Settings is available only if VPN client targets API level 24.