Merge "cherrypick from klp-modular-dev docs: Added note on disabling debugging for WebView apps. Bug: 16232761 Change-Id: I6cdc2ef7da87e78ec42a456d232a8e46a26c7365" into klp-modular-docs
This commit is contained in:
committed by
Android (Google) Code Review
commit
d086db30d0
@@ -191,6 +191,13 @@ were created in your project.</p>
|
|||||||
added to your code, such as {@link android.os.Debug#startMethodTracing()} and
|
added to your code, such as {@link android.os.Debug#startMethodTracing()} and
|
||||||
{@link android.os.Debug#stopMethodTracing()} method calls.</p>
|
{@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>
|
<h4>Clean up your project directories</h4>
|
||||||
|
|
||||||
<p>Clean up your project and make sure it conforms to the directory structure described in <a
|
<p>Clean up your project and make sure it conforms to the directory structure described in <a
|
||||||
|
|||||||
Reference in New Issue
Block a user