Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b429088c authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Android (Google) Code Review
Browse files

Merge "Add Javadoc statement regarding enumerability of methods of injected...

Merge "Add Javadoc statement regarding enumerability of methods of injected Java objects for applications targeted to API levels after KitKat."
parents 26c6a50f d380b209
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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