summaryrefslogtreecommitdiffstats
path: root/core/java/android/webkit/WebView.java
diff options
context:
space:
mode:
authorMikhail Naganov <mnaganov@google.com>2014-04-10 18:07:42 +0100
committerMikhail Naganov <mnaganov@google.com>2014-04-11 10:04:18 +0100
commitd380b2098ffea60f4148be842fa41a2c0e5213d1 (patch)
tree52e0f88f4cfdadfc36a1e179151859a145697c01 /core/java/android/webkit/WebView.java
parent2271a91c327cee8a6c1dffcbfd3419c95d56c37e (diff)
downloadframeworks_base-d380b2098ffea60f4148be842fa41a2c0e5213d1.zip
frameworks_base-d380b2098ffea60f4148be842fa41a2c0e5213d1.tar.gz
frameworks_base-d380b2098ffea60f4148be842fa41a2c0e5213d1.tar.bz2
Add Javadoc statement regarding enumerability of methods of injected Java
objects for applications targeted to API levels after KitKat. Bug: 12169386 Change-Id: I1c988468545e48ac0d7323b01b9c77a1f8d713f2
Diffstat (limited to 'core/java/android/webkit/WebView.java')
-rw-r--r--core/java/android/webkit/WebView.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java
index 81d36a4..85168fd 100644
--- a/core/java/android/webkit/WebView.java
+++ b/core/java/android/webkit/WebView.java
@@ -1691,6 +1691,9 @@ public class WebView extends AbsoluteLayout
* thread of this WebView. Care is therefore required to maintain thread
* safety.</li>
* <li> The Java object's fields are not accessible.</li>
+ * <li> For applications targeted to API level {@link android.os.Build.VERSION_CODES#L}
+ * and above, methods of injected Java objects are enumerable from
+ * JavaScript.</li>
* </ul>
*
* @param object the Java object to inject into this WebView's JavaScript