@@ -552,7 +552,7 @@ the minimum functionality required by your application.</p>
552552<p>If your application does not directly use JavaScript within a <code><a
553553href="{@docRoot}reference/android/webkit/WebView.html">WebView</a></code>, do
554554not call
555- <a href="{@docRoot}reference/android/webkit/WebSettings.html#setJavaScriptEnabled(boolean)
555+ <a href="{@docRoot}reference/android/webkit/WebSettings.html#setJavaScriptEnabled(boolean)">
556556<code>setJavaScriptEnabled()</code></a>. We have seen this method invoked
557557in sample code that might be repurposed in production application -- so
558558remove it if necessary. By default, <code><a
@@ -686,6 +686,15 @@ with personal information. This topic is discussed in more detail in the <a
686686href="http://android-developers.blogspot.com/2011/03/identifying-app-installatio
687687ns.html">Android Developer Blog</a>.</p>
688688
689+ <p>Application developers should be careful writing to on-device logs.
690+ In Android, logs are a shared resource, and are available
691+ to an application with the
692+ <a href="{@docRoot}reference/android/Manifest.permission.html#READ_LOGS">
693+ <code>READ_LOGS</code></a> permission. Even though the phone log data
694+ is temporary and erased on reboot, inappropriate logging of user information
695+ could inadvertently leak user data to other applications.</p>
696+
697+
689698<h3>Handling Credentials</h3>
690699
691700<p>In general, we recommend minimizing the frequency of asking for user
0 commit comments