AW SafeMode: add verbose logging

This adds an extra log message for SafeMode when
'--webview-verbose-logging' is provided. This is intended to make manual
testing easier, since now you can verify SafeMode status (both on and
off) by searching logcat.

Fixed: 1324423
Test: adb logcat | grep 'SafeMode enabled'
Change-Id: I275343102a1a292fa7764e3123c65c051a0e3edd
Reviewed-by: Richard Coles <>
Auto-Submit: Nate Fischer <>
Commit-Queue: Nate Fischer <>
Cr-Commit-Position: refs/heads/main@{#1004566}
GitOrigin-RevId: 1a6222ae4105639410763e5e845d789ffe5a0b22
2 files changed
tree: 758048ab108e9c561a4c8bd5502747d6a6bf3642
  1. java/


This folder contains a shim layer between the public frameworks APIs (android.webkit.*) and WebView's implementation, and allows them to (mostly) not directly depend on each other.

Folder Dependencies

//android_webview/java/ must not depend on this directory.

See Also