summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-07-11 10:12:48 -0700
committerRicardo Cervera <rcervera@google.com>2014-07-15 14:03:38 -0700
commit17e691ca511006827f468643772f9435c9244217 (patch)
treef777dd6b40996b9b9c78f89da12b5968825be525 /docs
parentbf42978e14e352984eb5443687fccd5b15dc27a3 (diff)
downloadframeworks_base-17e691ca511006827f468643772f9435c9244217.zip
frameworks_base-17e691ca511006827f468643772f9435c9244217.tar.gz
frameworks_base-17e691ca511006827f468643772f9435c9244217.tar.bz2
cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365
Change-Id: Idac2e05b2779da4941cccb492e2583d5f2979ada
Diffstat (limited to 'docs')
-rw-r--r--docs/html/tools/publishing/preparing.jd7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/html/tools/publishing/preparing.jd b/docs/html/tools/publishing/preparing.jd
index 7192aa8..5265fce 100644
--- a/docs/html/tools/publishing/preparing.jd
+++ b/docs/html/tools/publishing/preparing.jd
@@ -191,6 +191,13 @@ were created in your project.</p>
added to your code, such as {@link android.os.Debug#startMethodTracing()} and
{@link android.os.Debug#stopMethodTracing()} method calls.</p>
+<p class="caution"><strong>Important:</strong> Ensure that you disable debugging for
+your app if using {@link android.webkit.WebView} to display paid for content or if using JavaScript
+interfaces, since debugging allows users to inject scripts and extract content using Chrome
+DevTools. To disable debugging, use the
+{@link android.webkit.WebView#setWebContentsDebuggingEnabled(boolean) WebView.setWebContentsDebuggingEnabled()}
+method.</p>
+
<h4>Clean up your project directories</h4>
<p>Clean up your project and make sure it conforms to the directory structure described in <a