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

Commit 428d1e40 authored by Michael Wright's avatar Michael Wright Committed by Android (Google) Code Review
Browse files

Merge "Fix WebViewClient docs"

parents 27ecb35b 1feb11f5
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -287,11 +287,12 @@ public class WebViewClient {
     * from where the event is dispatched. It gives the host application a chance
     * from where the event is dispatched. It gives the host application a chance
     * to handle the unhandled input events.
     * to handle the unhandled input events.
     *
     *
     * Note that if the event is a {@link MotionEvent}, then it's lifetime is only that of the
     * Note that if the event is a {@link android.view.MotionEvent}, then it's lifetime is only
     * function call. If the WebViewClient wishes to use the event beyond that, then it <i>must</i>
     * that of the function call. If the WebViewClient wishes to use the event beyond that, then it
     * create a copy of the event.
     * <i>must</i> create a copy of the event.
     *
     *
     * It is the responsibility of overriders of this method to call {@link onUnhandledKeyEvent}
     * It is the responsibility of overriders of this method to call
     * {@link #onUnhandledKeyEvent(WebView, KeyEvent)}
     * when appropriate if they wish to continue receiving events through it.
     * when appropriate if they wish to continue receiving events through it.
     *
     *
     * @param view The WebView that is initiating the callback.
     * @param view The WebView that is initiating the callback.