Merge "Add Javadoc statement regarding enumerability of methods of injected Java objects for applications targeted to API levels after KitKat."
This commit is contained in:
committed by
Android (Google) Code Review
commit
b429088cbb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user