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

Commit d380b209 authored by Mikhail Naganov's avatar Mikhail Naganov
Browse files

Add Javadoc statement regarding enumerability of methods of injected Java

objects for applications targeted to API levels after KitKat.

Bug: 12169386
Change-Id: I1c988468545e48ac0d7323b01b9c77a1f8d713f2
parent 2271a91c
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line 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
     * thread of this WebView. Care is therefore required to maintain thread
     * safety.</li>
     * safety.</li>
     * <li> The Java object's fields are not accessible.</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>
     * </ul>
     *
     *
     * @param object the Java object to inject into this WebView's JavaScript
     * @param object the Java object to inject into this WebView's JavaScript