From a15562f8fd92d09f3277a0fabd0d54eff6e98b4f Mon Sep 17 00:00:00 2001
From: Adrian Ludwig
If your application does not directly use JavaScript within a WebView
, do
not call
-
setJavaScriptEnabled()
. We have seen this method invoked
in sample code that might be repurposed in production application -- so
remove it if necessary. By default, Android Developer Blog.
Application developers should be careful writing to on-device logs.
+In Android, logs are a shared resource, and are available
+to an application with the
+
+READ_LOGS
permission. Even though the phone log data
+is temporary and erased on reboot, inappropriate logging of user information
+could inadvertently leak user data to other applications.
In general, we recommend minimizing the frequency of asking for user -- cgit v1.1