Add good example to documentation

This commit is contained in:
Ed Minnix
2023-01-09 09:59:38 -05:00
parent 2ec73c50f9
commit 64668883a4
2 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,9 @@
<sample src="ContentAccessEnabled.java"/>
<p>In the following (good) example, access to <code>content://</code> URLs is explicitly denied.</p>
<sample src="ContentAccessDisabled.java"/>
</example>
<references>

View File

@@ -0,0 +1,3 @@
WebSettings settings = webview.getSettings();
settings.setAllowContentAccess(false);