summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRicardo Cervera <rcervera@google.com>2014-09-10 23:57:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-09-10 23:57:47 +0000
commitd086db30d0f097f34eae0a9a3d443e11cc230d62 (patch)
tree73d1df4b5f4766d5912e3cf0b54c71aa3ad6caae /docs
parenta6c12f0189c92b556fd7c3af3d8466d9b6d828c9 (diff)
parent17e691ca511006827f468643772f9435c9244217 (diff)
downloadframeworks_base-d086db30d0f097f34eae0a9a3d443e11cc230d62.zip
frameworks_base-d086db30d0f097f34eae0a9a3d443e11cc230d62.tar.gz
frameworks_base-d086db30d0f097f34eae0a9a3d443e11cc230d62.tar.bz2
Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs
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