MetricsOptOut is a property that individual apps which use WebView can set; you are correct that it doesn't disable crash reporting.
Are you trying to disable WebView's crash reporting for a specific app that uses WebView, or are you building WebView itself and want to disable crash reporting for all apps? I'm guessing you mean the latter given you mention chromium/src, but it'd be helpful if you can confirm that.
Currently the state of crash reporting in the non-Google-branded build of WebView is not ideal (or clearly documented/understood) - we have an open bug for this at
https://g-issues.chromium.org/issues/40943032 which explains some of the context and issues, but unfortunately I haven't had a chance to look into it in more detail.
Note that crash reports will never be uploaded to Google unless Google Play Services is installed on the device and the user has consented to telemetry reporting via Play Services, so even if reports are generated and passed to the :webview_service process they don't actually go anywhere on AOSP devices.
Do you want to entirely disable Crashpad and not even get the encoded dumps to logcat, or still log the crash information but just disable the mechanism that sends the reports off to the service?
--
You received this message because you are subscribed to the Google Groups "android-webview-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-webview...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/android-webview-dev/286d803d-9b8b-45a3-bd3d-1e33b2b4b29an%40chromium.org.