0
Files
src/android_webview
Torne (Richard Coles) dc2925afd5 android: use Cursor.getColumnIndexOrThrow.
Cursor.getColumnIndex returns -1 if the column is not found, which is an
invalid argument for the various Cursor.getType() functions.  Android 12
has a new lint rule enforcing that the arguments passed here are
non-negative.

Since we don't handle this case in any of these callsites which is
likely to throw an exception anyway, just use getColumnIndexOrThrow to
make it explicit that we expect the column to always exist and it's an
error if it doesn't.

Bug: 1223110
Change-Id: Ie0c2db499cf010ef97f16cd8f02c9fef29f662e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3032292
Reviewed-by: Ted Choc <tedchoc@chromium.org>
Auto-Submit: Richard Coles <torne@chromium.org>
Commit-Queue: Richard Coles <torne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#902695}
2021-07-16 22:03:17 +00:00
..
2021-07-16 21:40:15 +00:00
2021-06-15 14:50:57 +00:00
2021-07-13 11:00:01 +00:00
2021-07-16 21:40:15 +00:00
2021-05-05 13:48:00 +00:00

Android WebView

Android WebView is an Android system component for displaying web content. WebView (and the related Android classes) are implemented by the code in the //android_webview/ folder.

This directory contains the Android WebView implementation, as well as the implementation for the AndroidX Webkit support library.

Overview for Chromium team members and contributors

Please see WebView Architecture.

Want to use WebView in an Android app?

Please consult our API documentation and app development guides:

Want to build and install WebView on a device?

See our Chromium developer documentation.