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

Commit 9f21c1c7 authored by Jonathan Dixon's avatar Jonathan Dixon
Browse files

Add deprecated tag and note StrictMode violation

This method is already @deprecated in docs anyway.
StrictMode.noteSlowCall can help apps discover the error.

Change-Id: Ie131d938b0dd32f85ec1886e2139ce3c3f511209
parent 39edeeef
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1281,8 +1281,10 @@ public class WebView extends AbsoluteLayout
     * @deprecated {@link #findAllAsync} is preferred.
     * @see #setFindListener
     */
    @Deprecated
    public int findAll(String find) {
        checkThread();
        StrictMode.noteSlowCall("findAll blocks UI: prefer findAllAsync");
        return mProvider.findAll(find);
    }